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

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

XMLWordPrintable

    • a5b4d3dbab70c8e0cc57e895007fc4a798e129c7 (qt/qtdeclarative/5.15)

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes