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

Examples not compiling due 'CMake Error at ../lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:134 (message)'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.0.0 RC, 6.0
    • 6.0.0 Alpha, 6.0.0 Beta2
    • QML: Tooling
    • Tested on Ubuntu 20.04 x64

    Description

      Examples fails to build:

      /Examples/Qt-6.0.0/quick/customitems/painteditem
      /Examples/Qt-6.0.0/quick/imageprovider
      /Examples/Qt-6.0.0/quick/imageresponseprovider
      /Examples/Qt-6.0.0/qml/qmlextensionplugins
      /Examples/Qt-6.0.0/qml/tutorials/extending-qml/chapter6-plugins
      /Examples/Qt-6.0.0/qml/tutorials/extending-qml/chapter6-plugins/import

      Compile fails with error:

      -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) 
      -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) 
      CMake Error at /home/qt/RTA/qt5/6.0.0/gcc_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:134 (message):
        qt6_add_qml_module Static builds of Qml modules require a class name, none
        was provided.  Please specify one using the CLASSNAME argument.
      Call Stack (most recent call first):
        CMakeLists.txt:23 (qt6_add_qml_module)
      -- Configuring incomplete, errors occurred!
      See also "/home/qt/RTA/qt5/Examples/Qt-6.0.0/quick/customitems/painteditem/CMakeFiles/CMakeOutput.log".
      See also "/home/qt/RTA/qt5/Examples/Qt-6.0.0/quick/customitems/painteditem/CMakeFiles/CMakeError.log".
      

      SHA1: ca02358af27b458739cba29086ff6ad19196d431

      Attachments

        Issue Links

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

          Activity

            People

              fabiankosmale Fabian Kosmale
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes