Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
1.9.0
-
None
-
* Qt 5.9.1 Android ARMv7 (official)
* NDK r15
* SDK r24.3.4
Description
Attempt to build the application (e.g. example application as qbs\examples\compiled-qml) fails with Android profile:
e:\git\ng\git\999\compiled-qml>qbs-setup-android --settings-dir e:\git\ng\git\999\ --ndk-dir c:\Android\android-ndk-r15 --sdk-dir c:\Android\android-sdk-r24.3.4 --qt-dir c:\Qt\5.9.1\android_armv7 android-profile-my e:\git\ng\git\999\compiled-qml>qbs config --list profiles --settings-dir e:\git\ng\git\999\ profiles.android-profile-my-armv7a.preferences.qbsSearchPaths: "C:/Users/denis/AppData/Roaming/QtProject/qbs/1.9.0/profiles/android-profile-my-armv7a" e:\git\ng\git\999\compiled-qml>qbs-setup-qt --settings-dir e:\git\ng\git\999\ c:\Qt\5.9.1\android_armv7\bin\qmake.exe qt-android-my Creating profile 'qt-android-my'. Skipping prl file 'C:/Qt/5.9.1/android_armv7/lib/libQt5Bootstrap.prl', because it cannot be opened (No such file or directory). Skipping prl file 'C:/Qt/5.9.1/android_armv7/lib/libQt5QmlDevTools.prl', because it cannot be opened (No such file or directory). Setting profile 'android-profile-my' as the base profile for this profile. e:\git\ng\git\999\compiled-qml>qbs --settings-dir e:\git\ng\git\999\ build profile:qt-android-my No build graph exists yet for this configuration. Resolving project for configuration build Setting up build graph for configuration build Building for configuration build rcc qml.qrc compiling qrc_qml.cpp compiling main.cpp ERROR: c:\Android\android-ndk-r15\toolchains\arm-linux-androideabi-4.9\prebuilt\windows\bin\arm-linux-androideabi-g+.exe "-sysroot=c:/Android/android-ndk-r15/sysroot" -g -Os -Wall -Wextra -no-canonical-prefixes "-march=armv7-a" -pipe -fno-exceptions -fno-rtti "-fvisibility=default" -ffunction-sections -funwind-tables "-Wa,-noexecstack" "-Werror=format-security" -fno-omit-frame-pointer -fno-strict-aliasing -fpic -fstack-protector "-finline-limit=64" "-mfpu=vfpv3-d16" "-mfloat-abi=softfp" -marm -fPIC -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DANDROID "-D_ANDROID_API_=16" -IC:/Qt/5.9.1/android_armv7/include -IC:/Qt/5.9.1/android_armv7/include/QtCore -IC:/Qt/5.9.1/android_armv7/mkspecs/android-g+ -IE:/git/ng/git/999/compiled-qml/build/myapp.94e7d341/qt.headers -IC:/Qt/5.9.1/android_armv7/include/QtGui -IC:/Qt/5.9.1/android_armv7/include/QtNetwork -IC:/Qt/5.9.1/android_armv7/include/QtQml -IC:/Qt/5.9.1/android_armv7/include/QtQuick -isystemc:/Android/android-ndk-r15/sysroot/usr/include/arm-linux-androideabi -isystemc:/Android/android-ndk-r15/sources/cxx-stl/system/include "-std=c++0x" -o E:/git/ng/git/999/compiled-qml/build/myapp.94e7d341/.obj/3a52ce780950d4d9/main.cpp.o -c E:/git/ng/git/999/compiled-qml/main.cpp ERROR: In file included from C:/Qt/5.9.1/android_armv7/include/QtGui/qtguiglobal.h:43:0, from C:/Qt/5.9.1/android_armv7/include/QtGui/qguiapplication.h:43, from C:/Qt/5.9.1/android_armv7/include/QtGui/QGuiApplication:1, from E:/git/ng/git/999/compiled-qml/main.cpp:51: C:/Qt/5.9.1/android_armv7/include/QtCore/qglobal.h:45:25: fatal error: type_traits: No such file or directory # include <type_traits> ^ compilation terminated. ERROR: Process failed with exit code 1. The following products could not be built for configuration build: myapp e:\git\ng\git\999\compiled-qml>
}