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

applicationmanager/custom-appman fails to configure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.2.5, 6.3.1
    • 6.3.0 Beta2, 6.3.0 RC, 6.4.0 FF
    • Qt Application Manager
    • Linux/X11
    • 2f605bf576 (qt/qtapplicationmanager/6.3) 2f605bf576 (qt/tqtc-qtapplicationmanager/6.3) 2f605bf576 (qt/qtapplicationmanager/6.3.1) 2f605bf576 (qt/tqtc-qtapplicationmanager/6.3.1) adf02270da (qt/tqtc-qtapplicationmanager/6.2)

    Description

      Have Qt 6.3.0 beta2 gcc binaries installed, configure example applicationmanager/custom-appman

      /home/johanna/RTA/Qt_6.3.0/6.3.0/gcc_64/bin/qt-cmake -S /home/johanna/RTA/Qt_6.3.0/Examples/Qt-6.3.0/applicationmanager/custom-appman -B /home/johanna/RTA/Qt_6.3.0/Examples/Qt-6.3.0/applicationmanager/custom-appman/bld_man -GNinja
      

      Fails:

      -- The CXX compiler identification is GNU 9.3.0
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- 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  
      -- 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  
      -- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "0.10.0", minimum required is "0.5.0") 
      -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
      -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
      -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
      -- Found WrapZLIB: TRUE  
      -- Could NOT find Qt6WaylandCompositor (missing: Qt6WaylandCompositor_DIR)
      CMake Warning at /opt/tools/Tools/CMake/share/cmake-3.21/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
        Found package configuration file:    /home/johanna/RTA/Qt_6.3.0/6.3.0/gcc_64/lib/cmake/Qt6AppManWindowPrivate/Qt6AppManWindowPrivateConfig.cmake  but it set Qt6AppManWindowPrivate_FOUND to FALSE so package
        "Qt6AppManWindowPrivate" is considered to be NOT FOUND.  Reason given by
        package:  Qt6AppManWindowPrivate could not be found because dependency
        Qt6WaylandCompositor could not be found.Call Stack (most recent call first):
        /home/johanna/RTA/Qt_6.3.0/6.3.0/gcc_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
        /home/johanna/RTA/Qt_6.3.0/6.3.0/gcc_64/lib/cmake/Qt6AppManMainPrivate/Qt6AppManMainPrivateDependencies.cmake:91 (_qt_internal_find_dependencies)
        /home/johanna/RTA/Qt_6.3.0/6.3.0/gcc_64/lib/cmake/Qt6AppManMainPrivate/Qt6AppManMainPrivateConfig.cmake:40 (include)
        /home/johanna/RTA/Qt_6.3.0/6.3.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:179 (find_package)
        CMakeLists.txt:17 (find_package)
      CMake Warning at /home/johanna/RTA/Qt_6.3.0/6.3.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:179 (find_package):
        Found package configuration file:    /home/johanna/RTA/Qt_6.3.0/6.3.0/gcc_64/lib/cmake/Qt6AppManMainPrivate/Qt6AppManMainPrivateConfig.cmake  but it set Qt6AppManMainPrivate_FOUND to FALSE so package
        "Qt6AppManMainPrivate" is considered to be NOT FOUND.  Reason given by
        package:  Qt6AppManMainPrivate could not be found because dependency
        Qt6AppManWindowPrivate could not be found.Call Stack (most recent call first):
        CMakeLists.txt:17 (find_package)
      CMake Warning at CMakeLists.txt:17 (find_package):
        Found package configuration file:    /home/johanna/RTA/Qt_6.3.0/6.3.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
        FOUND.  Reason given by package:  Failed to find Qt component "AppManMainPrivate".  Expected Config file at
        "/home/johanna/RTA/Qt_6.3.0/6.3.0/gcc_64/lib/cmake/Qt6AppManMainPrivate/Qt6AppManMainPrivateConfig.cmake"
        exists  -- Configuring done
      CMake Error at /home/johanna/RTA/Qt_6.3.0/6.3.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:559 (add_executable):
        Target "custom-appman" links to target "Qt::AppManMainPrivate" 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/Qt_6.3.0/6.3.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:523 (_qt_internal_create_executable)
        /home/johanna/RTA/Qt_6.3.0/6.3.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:870 (qt6_add_executable)
        CMakeLists.txt:20 (qt_add_executable)
      
      

      Should the example compile on Ubuntu in general?

      Attachments

        Activity

          People

            rgriebl Robert Griebl
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: