Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Cross-compile Qt5 for aarch64 CMakelists.txt
Forum Updated to NodeBB v4.3 + New Features

Cross-compile Qt5 for aarch64 CMakelists.txt

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 259 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.
  • L Offline
    L Offline
    lcharris142857
    wrote on last edited by
    #1

    What Qt5 or aarch64 libraries/files do I need to install on my ubuntu 22.04 linux os? I'm trying to cross-compile my Qt5 project for aarch64 on ubuntu 22.04 and it needs Qt5Config, Qt5Network, Qt5Core, Qt5Widgets, and Qt5Gui.

    My CMakeLists.txt points to a toolchain-aarch64-linux.cmake and I'm receiving the below error:

    Output:
    -- The CXX compiler identification is GNU 11.4.0
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/aarch64-linux-gnu-g++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    CMake Error at CMakeLists.txt:24 (find_package):
    Could not find a package configuration file provided by "QT" with any of
    the following names:
    Qt5Config.cmake
    qt5-config.cmake
    Add the installation prefix of "QT" to CMAKE_PREFIX_PATH or set "QT_DIR" to
    a directory containing one of the above files. If "QT" provides a separate
    development package or SDK, be sure it has been installed.
    -- Configuring incomplete, errors occurred!

    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