-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
6.0.0
When attempting to build qtdeclarative examples that have qt6_qml_type_registration in them (e.g. many of the examples under examples/quick/scenegraph), I get the following from qt-cmake-private .
I am using a developer build. (qtbase was configured with cmake -GNinja -DFEATURE_developer_build=ON -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF . )
Make Error at C:/work/qtbase_cmake/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:584 (message): Please specify an install directory using INSTALL_DIR Call Stack (most recent call first): C:/work/qtbase_cmake/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:480 (qt6_generate_meta_types_json_file) CMakeLists.txt:62 (qt6_qml_type_registration)
For Gerrit Dashboard: QTBUG-84403 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
301753,6 | CMake: Explicitly require install location for plugin.qmltypes | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
301754,4 | CMake: Use default location for installing metatypes json files | dev | qt/qtbase | Status: MERGED | +2 | 0 |
302232,4 | CMake: Fix qt6_target_qml_files install location | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
302233,4 | CMake: Warn when the qt6_add_qml_module INSTALL_PATH is missing | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
302234,4 | CMake: Don't install .qmltypes for Qt tests, examples and tools | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
302247,3 | CMake: Workaround fix to not install example metatypes.json files | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
302248,2 | CMake: pro2cmake: Check existence of QMLTYPES_INSTALL_DIR | dev | qt/qtbase | Status: MERGED | +2 | 0 |