[Android-development] Compiling Qt for Android, updating the git repo correctly including the submodules

Harri Pasanen harri at mpaja.com
Fri Sep 26 18:14:02 CEST 2014


Hi,

I've been compiling Qt myself to better understand some things.

http://qt-project.org/wiki/Qt5ForAndroidBuilding

Seems a bit dated, and does not address updating the build tree.

The configure I'm running is the following, which seems to work:

./configure -opensource -confirm-license -xplatform android-g++ -nomake 
tests -nomake examples -android-ndk /home/harri/android-ndk-r10b 
-android-sdk /home/harri/android-sdk-linux -android-ndk-host 
linux-x86_64 -android-toolchain-version 4.8 -skip qttranslations -skip 
qtwebkit -skip qtserialport -skip qtwebkit-examples -skip qtquick1 -skip 
qt3d -skip qtjsondb -skip qtsystems -skip qtfeedback -skip qtpim -skip 
qtwayland -no-warnings-are-errors -prefix /home/harri/qt5hp

However, as there are a number of submodules, a simple git pull is not 
enough to stay up to date.
Also there is the question of branches.

What is the recommended git invocation to update everything to a release 
branch, or what ever is the current development branch?

Thanks,

Harri




More information about the Android-development mailing list