Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82710

The names app.qmltypes and lib.qmltypes are too generic

    XMLWordPrintable

Details

    • a5b4d3dbab70c8e0cc57e895007fc4a798e129c7 (qt/qtdeclarative/5.15)

    Description

      We currently call the qmltypes files by the template name, in particular you can have app.qmltypes, lib.qmltypes, and plugins.qmltypes. plugins.qmltypes is fine because the plugin needs to be placed in the module directory anyway, and that is specific for the module name.

      However, app.qmltypes and lib.qmltypes are placed next to the binaries and there can be multiple binaries in the same directory. They should rather be called by the basename of the binary. Qt Creator, qmlformat, and qmllint should support that.

      Attachments

        For Gerrit Dashboard: QTBUG-82710
        # Subject Branch Project Status CR V

        Activity

          People

            max.goldstein Maximilian Goldstein
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes