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. CMake build for Android failing to find Qt5 libs.
Forum Updated to NodeBB v4.3 + New Features

CMake build for Android failing to find Qt5 libs.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 206 Views 1 Watching
  • 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.
  • TryumT Offline
    TryumT Offline
    Tryum
    wrote on last edited by
    #1

    In order to make my app compile in a continuous integration system, I'm trying to build it directly from command line using cmake, qt 5.12.5, ndk 20 and sdk 26.

    I tried both under windows and linux, and as soon as I add the cmake toolchain file from the android NDK, cmake is unable to find the Qt5 modules, despite setting CMAKE_PREFIX_PATH to the Qt\5.12.5\android_armv7 folder. Using Qt Creator and the same CMakeFile, I have no problem building the app.

    The same setup, targetting a windows build and a Qt\5.12.5\msvc2017_64 qt dist is working perfectly.

    Thanks in advance ;)

    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