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

[REG beta1->beta2] Serialbus examples fail to build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.2.0 RC
    • 6.2.0 Beta2
    • SerialBus: Other
    • fde4104fde034e7bb611cd8d83fc11af880ef775 (qt/qtserialbus/dev) 32b6ec08d8aee95fb3f51aa3023960cc5a092e76 (qt/qtserialbus/6.2)

    Description

      Have Qt6.2.0 gcc binaries installed, configure one of the examples in serialbus, for example the serialbus/can. Configure fails:

      $export CMAKE_PREFIX_PATH=/home/johanna/RTA/qt5/6.2.0/gcc_64/lib/cmake/
      
      $cmake CMakeLists.txt 
      -- Looking for C++ include pthread.h
      -- Looking for C++ include pthread.h - found
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
      -- Check if compiler accepts -pthread
      -- Check if compiler accepts -pthread - yes
      -- Found Threads: TRUE  
      -- Check if linker can resolve circular dependencies - FALSE
      -- Performing Test HAVE_STDATOMIC
      -- Performing Test HAVE_STDATOMIC - Success
      -- Found WrapAtomic: TRUE  
      -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
      -- Found WrapOpenGL: TRUE  
      -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
      -- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "0.10.0", minimum required is "0.5.0") 
      -- Configuring done
      CMake Error at /home/johanna/RTA/qt5/6.2.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:523 (add_executable):
        Target "can" links to target "WrapVulkanHeaders::WrapVulkanHeaders" 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.2.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:488 (_qt_internal_create_executable)
        /home/johanna/RTA/qt5/6.2.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:754 (qt6_add_executable)
        CMakeLists.txt:21 (qt_add_executable)
      CMake Error at /home/johanna/RTA/qt5/6.2.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:523 (add_executable):
        Target "can" links to target "Qt::Network" 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.2.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:488 (_qt_internal_create_executable)
        /home/johanna/RTA/qt5/6.2.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:754 (qt6_add_executable)
        CMakeLists.txt:21 (qt_add_executable)
      -- Generating done
      CMake Generate step failed.  Build files cannot be regenerated correctly.
      
      

      Attachments

        Issue Links

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

          Activity

            People

              alexandru.croitor Alexandru Croitor
              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