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

CMake: examples with qt6_qml_type_registration in them fail to configure with non-installed developer build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 6.0.0
    • Build System: CMake

    Description

      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)
      

      Attachments

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

        Activity

          People

            alexandru.croitor Alexandru Croitor
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: