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

qtapplicationmanager examples not compiling with linux on arm binaries

    XMLWordPrintable

Details

    • Linux/X11
    • 4a2898c03 (dev), 67d3cb04a (6.7), 43513c687 (tqtc/lts-6.5)

    Description

      Install Qt 6.7.1 linux on arm binaries (on Debian11 arm64), sha1 2dec77649ec9f63eef7c63fdd544fca0ffa4ea80.

      Configure any of the qtapplicationmanager examples:

      PATH: /home/qt/RTA/Qt_6.7.1/6.7.1/gcc_arm64/bin:/home/qt/RTA/Qt_6.7.1/Tools/CMake/bin:/home/qt/openssl-3.0.7/bin:/opt/node-v18.16.0-linux-arm64/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

      /home/qt/RTA/Qt_6.7.1/6.7.1/gcc_arm64/bin/qt-cmake -S /home/qt/RTA/Qt_6.7.1/Examples/Qt-6.7.1/applicationmanager/bubblewrap-example -B /home/qt/RTA/Qt_6.7.1/Examples/Qt-6.7.1/applicationmanager/bubblewrap-example/bld_gcc_arm64 -GNinja 

      Fails:

      CMake Error at CMakeLists.txt:23 (qt_am_add_systemui_wrapper):
      -- Configuring incomplete, errors occurred!
      CMake Warning at /usr/share/cmake-3.25/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
        Found package configuration file:
          /home/qt/RTA/Qt_6.7.1/6.7.1/gcc_arm64/lib/cmake/Qt6AppManApplicationPrivate/Qt6AppManApplicationPrivateConfig.cmake
        but it set Qt6AppManApplicationPrivate_FOUND to FALSE so package
        "Qt6AppManApplicationPrivate" is considered to be NOT FOUND.  Reason given
        by package:
        Qt6AppManApplicationPrivate could not be found because dependency
        Qt6AppManCommonPrivate could not be found.
        Configuring with --debug-find-pkg=Qt6AppManCommonPrivate might reveal
        details why the package was not found.
        Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
        of the path variables that find_package uses to try and find the package.
      Call Stack (most recent call first):
        /home/qt/RTA/Qt_6.7.1/6.7.1/gcc_arm64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
        /home/qt/RTA/Qt_6.7.1/6.7.1/gcc_arm64/lib/cmake/Qt6AppManMainPrivate/Qt6AppManMainPrivateDependencies.cmake:42 (_qt_internal_find_qt_dependencies)
        /home/qt/RTA/Qt_6.7.1/6.7.1/gcc_arm64/lib/cmake/Qt6AppManMainPrivate/Qt6AppManMainPrivateConfig.cmake:43 (include)
        /home/qt/RTA/Qt_6.7.1/6.7.1/gcc_arm64/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
        CMakeLists.txt:19 (find_package)
      CMake Warning at /home/qt/RTA/Qt_6.7.1/6.7.1/gcc_arm64/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package):
        Found package configuration file:
          /home/qt/RTA/Qt_6.7.1/6.7.1/gcc_arm64/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
        Qt6AppManApplicationPrivate could not be found.
        Configuring with --debug-find-pkg=Qt6AppManApplicationPrivate might reveal
        details why the package was not found.
        Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
        of the path variables that find_package uses to try and find the package.
      Call Stack (most recent call first):
        CMakeLists.txt:19 (find_package)
      CMake Warning at CMakeLists.txt:19 (find_package):
        Found package configuration file:
          /home/qt/RTA/Qt_6.7.1/6.7.1/gcc_arm64/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 required Qt component "AppManMainPrivate".
        Expected Config file at
        "/home/qt/RTA/Qt_6.7.1/6.7.1/gcc_arm64/lib/cmake/Qt6AppManMainPrivate/Qt6AppManMainPrivateConfig.cmake"
        exists
        
        Configuring with --debug-find-pkg=Qt6AppManMainPrivate might reveal details
        why the package was not found.
        Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
        of the path variables that find_package uses to try and find the package.
      CMake Error at CMakeLists.txt:23 (qt_am_add_systemui_wrapper):
        Unknown CMake command "qt_am_add_systemui_wrapper".
      -- Configuring incomplete, errors occurred! 

      Attachments

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

        Activity

          People

            rgriebl Robert Griebl
            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