Details
-
Task
-
Resolution: Done
-
P1: Critical
-
6.2.0 Alpha
-
None
-
-
0c99c17761c89290d88e97367742122db5c9a46f (qt/qtdeclarative/dev) d85171a41355b0e26355627db140fbee3fc541b2 (qt/qtdeclarative/6.2)
Description
With the current CMake Patch we only generate a qmldir file. In order for this to be parsed as a normal module in qmllint we at least need the following:
- Putting both the $TARGETNAME.qmltypes and qmldir file from the build dir into $BUILDDIR/import/$TARGET_URI
- Adding "-I $BUILDDIR/import" to $TARGETNAME_qmllint's parameters
- Removing all the qml files currently listed in qmldir (only if we don't care about keeping it intact)
If we want to keep the qmldir intact for use within qml modules we will also need to copy all required qml files to this directory.
Attachments
Issue Links
- relates to
-
QTBUG-91470 qt6_target_qml_files() doesn't re-copy changed qml files to OUTPUT_DIRECTORY
- Closed
- resulted in
-
QTBUG-94761 CMake: Improve _qmllint target for QML modules
- Closed
For Gerrit Dashboard: QTBUG-94164 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
356186,15 | CMake: Change the default of OUTPUT_DIRECTORY for qt6_add_qml_module() | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
360578,3 | CMake: Remove OUTPUT_DIRECTORY option from qt6_qml_type_registration() | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
360724,2 | CMake: Remove OUTPUT_DIRECTORY option from qt6_qml_type_registration() | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
360726,2 | CMake: Change the default of OUTPUT_DIRECTORY for qt6_add_qml_module() | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |