Configure qmake for android build outside the Qt Creator.
-
Cannot do this. Trying to launch line from Qt Creator
"C:\Qt\Qt5.4.2\5.4\android_x86\bin\qmake.exe" E:\Project\cmd.myh\trunk\code\client\ComodoOneHomeEdition\monitor\monitor.pro -r -spec android-g++
This generate for me: (after adding path to my ndk as ANDROID_NDK_ROOT)
CC = C:\Android\android-ndk-r10e/toolchains/x86-4.8/prebuilt/windows/bin/i686-linux-android-gcc
CXX = C:\Android\android-ndk-r10e/toolchains/x86-4.8/prebuilt/windows/bin/i686-linux-android-g++
But I have 64-bit windows and it does'nt buildQt Creator running same command generate makefile having such lines:
CC = C:\Android\android-ndk-r10e/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-gcc
CXX = C:\Android\android-ndk-r10e/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-g++
That's buildsSo i cant build project with wrong makefile. How can i specify the toolchain for qmake?
-
Hi,
Windows 64 bit is able to run 32bit applications. What exact error do you get ? Did you setup all android environment variables ?