Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unable to build QT-based application with external QT installation #919

Closed
PeterPetrik opened this issue Feb 27, 2019 · 3 comments
Closed
Labels

Comments

@PeterPetrik
Copy link

I have this folder structure

/opt/android-ndk-r19b
/opt/Qt/5.11.2/android_armv7

and I want to use Qt5CoreConfig.cmake from /opt/Qt/5.11.2/android_armv7/lib/cmake/...
With the recent fix in r19b #890, the /opt/Qt/ path is ignored.

Would it be possible to use if in setting CMAKE_FIND_ROOT_PATH so one can set this list outside and include also Qt folder (so we do not need to allow other host's paths)

if(NOT CMAKE_FIND_ROOT_PATH)
   set(CMAKE_FIND_ROOT_PATH “${ANDROID_NDK}“)
endif()

Environment Details

  • NDK Version: r19b
  • Build system: cmake
  • Host OS: Mac Mojave
  • Compiler: Clang
@DanAlbert
Copy link
Member

#912

@PeterPetrik
Copy link
Author

thanks, any idea when r19c will be out?

@DanAlbert
Copy link
Member

DanAlbert commented Feb 28, 2019

Soon. Waiting for a slot in the QA schedule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants