Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error During Cross Compilation
Qt 6.11 is out! See what's new in the release blog

Error During Cross Compilation

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 115 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Martin Glueck
    wrote on last edited by
    #1

    Hi,

    I'M trying to cross compile QT6.10.2 for an arm64 platform from source.
    I compile and installed the Host Build without problems, but when I try to configure the QT6 arm build I got the following error:

    -- Could NOT find Qt6CoreTools (missing: Qt6CoreTools_DIR)
    CMake Debug Log at qtbase/cmake/QtToolHelpers.cmake:741 (find_package):
      The internally managed CMAKE_FIND_PACKAGE_REDIRECTS_DIR.
    
        /data/fast/qt6/rk3506/qt6-arm-build/CMakeFiles/pkgRedirects
    
      CMAKE_PREFIX_PATH variable [CMAKE_FIND_USE_CMAKE_PATH].
    
        /data/fast/qt6/rk3506/arm-buildroot-linux-gnueabihf_sdk-buildroot/lib/cmake
    
      CMAKE_FRAMEWORK_PATH and CMAKE_APPBUNDLE_PATH variables
      [CMAKE_FIND_USE_CMAKE_PATH].
    
      Paths specified by the find_package HINTS option.
    
        none
    
      Paths specified by the find_package PATHS option.
    
        none
    
      find_package considered the following locations for Qt6CoreTools's Config
      module:
    
      The file was not found.
    
    Call Stack (most recent call first):
      qtbase/cmake/QtToolHelpers.cmake:83 (qt_internal_find_tool)
      qtbase/src/tools/syncqt/CMakeLists.txt:36 (qt_internal_add_tool)
    

    I'm using the following command:
    make --debug-find-pkg=Qt6CoreTools ../../src/ -GNinja -DCMAKE_BUILD_TYPE=Release -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF -DQT_HOST_PATH=/data/fast/qt6/qt-host -DCMAKE_STAGING_PREFIX=/data/fast/qt6/rk3506/qt6-arm-install -DCMAKE_INSTALL_PREFIX=/usr/local/qt6 -DCMAKE_TOOLCHAIN_FILE=/data/fast/qt6/rk3506/arm-buildroot-linux-gnueabihf_sdk-buildroot/share/buildroot/toolchainfile.cmake -DQT_QMAKE_TARGET_MKSPEC=devices/linux-rasp-pi4-aarch64

    Has anybody an idea what I'm doing wrong here?

    Thanks
    Martin

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved