Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.0 Beta1
-
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 |
295243,3 | qmltyperegistrar: Use target instead of template name | 5.15 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
295259,3 | qmljs: Do not use app.qmltypes and lib.qmltypes anymore | 4.12 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
295265,3 | Do not use app.qmltypes anymore | 1.16 | qbs/qbs | Status: MERGED | +2 | -1 |