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

Examples not finding QtConcurrent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.1.0, 6.2.0 Beta3
    • Fix Version/s: 6.2.0 Beta3, 6.3.0 Alpha
    • Component/s: Qt3D
    • Labels:
    • Environment:
      Ubuntu20.04
    • Commits:
      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

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes