I am trying to run my first Qt Android
application and I followed this tutorial:
http://urfoex.blogspot.ro/2013/12/qt5-android-setting-up-qt-52-for-android.html
However, after I ran it i got this error:
i686-linux-android-g++: error: unrecognized command line option '-marm' make: ***
[main.o] Error 1 21:33:42: The process "make" exited with code 2.
Error while building/deploying project avd_tests (kit: Android for x86 (GCC 4.8, Qt 5.2.1)) When executing step 'Make'
I also tried using armeabi
but i got:
In file included from ../.android-ndk/sources/cxx-stl/gnu-libstdc++/4.8/include/algorithm:60:0,
from ../.Qt5.2.1/5.2.1/android_armv7/include/QtCore/qglobal.h:82,
from ../.Qt5.2.1/5.2.1/android_armv7/include/QtCore/qcoreapplication.h:45,
from ../.Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qapplication.h:45,
from ../.Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/QApplication:1,
from ../avd_tests/qtquick2controlsapplicationviewer/qtquick2controlsapplicationviewer.h:13,
from ../avd_tests/main.cpp:1: ../.android-ndk/sources/cxx-stl/gnu-libstdc++/4.8/include/utility:68:28: fatal error: bits/c++config.h: No such file or directory #include <bits/c++config.h>
^ compilation terminated. make: *** [main.o] Error 1 21:44:14: The process "make" exited with code 2. Error while building/deploying project avd_tests (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.2.1)) When executing step 'Make'
The application I am building is a default Qt Quick
application. I am using Qt 5.2.1
and QtCreator 3.0.1
.
Anyone any Idea what it could be or does anyone know a good guide on how to make Qt
on Android
work on GNU/Linux
?