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

Examples not finding QtConcurrent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.2.0 Beta3, 6.3.0 Alpha
    • 6.1.0, 6.2.0 Beta3, 6.2.1
    • Qt3D
    • Ubuntu20.04
    • 018d77678641c452a00b321527794027e4e5d92b (qt/qt3d/dev) 169d684aa3947dcba6b54d97979685fe858068a5 (qt/qt3d/6.2)

    Description

      Install Qt6.1.0 gcc binaries, also Qt3D components. Finish installation, open Creator and open one of the following examples:

      Examples/Qt-6.1.0/qt3d/simple-cpp

      Examples/Qt-6.1.0/qt3d/instanced-arrays-qml

      Examples/Qt-6.1.0/qt3d/basicshapes-cpp

      Examples/Qt-6.1.0/qt3d/3d-text

      Examples/Qt-6.1.0/qt3d/pbr-materials

      Examples/Qt-6.1.0/qt3d/compute-particles

      Examples/Qt-6.1.0/qt3d/anaglyph-rendering

      Examples/Qt-6.1.0/qt3d/qgltf

      Examples/Qt-6.1.0/qt3d/qardboard

      Examples/Qt-6.1.0/qt3d/multiviewport

      Examples/Qt-6.1.0/qt3d/wave

      Examples/Qt-6.1.0/qt3d/simple-qml

      Examples/Qt-6.1.0/qt3d/lights

      Examples/Qt-6.1.0/qt3d/wireframe

      Examples/Qt-6.1.0/qt3d/scene2d

      Examples/Qt-6.1.0/qt3d/shadow-map-qml

      Examples/Qt-6.1.0/qt3d/phong-cubes

      Configure fails with:

      Performing API discovery ...
      Checking for license updates ...
      Checking for updated license succeeded (1 licenses fetched)
      Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
      Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
      Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
      Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
      Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
      Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
      Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
      Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
      Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
      Running /home/johanna/RTA/qt5/Tools/CMake/bin/cmake -S /home/johanna/RTA/qt5/Examples/Qt-6.1.0/qt3d/qardboard -B /home/johanna/RTA/qt5/Examples/Qt-6.1.0/qt3d/qardboard in /home/johanna/RTA/qt5/Examples/Qt-6.1.0/qt3d/qardboard.
      -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) 
      -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) 
      -- Configuring done
      CMake Error at /home/johanna/RTA/qt5/6.1.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:508 (add_executable):
        Target "qardboard" links to target "Qt::Concurrent" but the target was not
        found.  Perhaps a find_package() call is missing for an IMPORTED target, or
        an ALIAS target is missing?
      Call Stack (most recent call first):
        /home/johanna/RTA/qt5/6.1.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:475 (_qt_internal_create_executable)
        /home/johanna/RTA/qt5/6.1.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:566 (qt6_add_executable)
        CMakeLists.txt:29 (qt_add_executable)
      CMake Error at /home/johanna/RTA/qt5/6.1.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:508 (add_executable):
        Target "qardboard" links to target "Qt::Concurrent" but the target was not
        found.  Perhaps a find_package() call is missing for an IMPORTED target, or
        an ALIAS target is missing?
      Call Stack (most recent call first):
        /home/johanna/RTA/qt5/6.1.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:475 (_qt_internal_create_executable)
        /home/johanna/RTA/qt5/6.1.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:566 (qt6_add_executable)
        CMakeLists.txt:29 (qt_add_executable)
      -- Generating done
      CMake Generate step failed.  Build files cannot be regenerated correctly.
      CMake process exited with exit code 1.
      Elapsed time: 00:00.
      

      For example advancedcustommaterial works fine.

      Attachments

        For Gerrit Dashboard: QTBUG-93428
        # Subject Branch Project Status CR V

        Activity

          People

            seanharmer Sean Harmer
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes