Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
None
-
5.7.0
-
None
-
Fedora 23, gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6), cmake version 3.4.3
I've taken a pre-compiled Qt5.7 from the Qt site and a manually built version of the 5.7 git tag.
Description
Starting with version 5.7 I'm not able any more to configure a CMake build which makes use of a toolchain file for the Android NDK. I'm not sure whether this is really a Qt problem but with Qt 5.6.1 everything worked fine under same conditions.
I've posted a StackOverflow question with additional information: http://stackoverflow.com/questions/38027292
The toolchain file is taken from here:
https://github.com/LaurentGomila/qt-android-cmake
The only feedback I get from CMake is:
-- Configuring done CMake Error in CMakeLists.txt: No known features for CXX compiler "GNU" version 4.9. -- Generating done -- Build files have been written to: /path/to/build-dir
.. after running
ANDROID_SDK=/path/to/android-sdk-linux \ ANDROID_NDK=/path/to/android-ndk-r12 \ QT_ANDROID_ROOT=/path/to/Qt-5.7.0-android \ JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk \ ANT=/usr/bin/ant \ cmake /path/to/CMakeLists.txt \ -DCMAKE_PREFIX_PATH=$QT_ANDROID_ROOT \ -DCMAKE_TOOLCHAIN_FILE=/path/to/android.toolchain.cmake
Attachments
Issue Links
- is replaced by
-
QTBUG-57886 CMake/Mac only supports compiler features for AppleClang
- Closed