How do I compile Qt 5.1 (dev branch) to test Android stuff?
-
I found qt-project.org/wiki/Building-Qt-5-from-Git but that doesn't seem to be specifically for android stuff.
I also found http://qt-project.org/wiki/Qt5ForAndroidBuilding but it says it doesn't work with qt5.git. -
You will have to check out the dev branch first. See http://qt-project.org/forums/viewthread/25579/#117201
-
5.1 code is already merged to stable branch. You can check out either one (by hand, I don't think qt5.git is updated ATM).
-
Thanks. So let me get this straight:
I can clone qt5.git, then git submodule init, git submodule update, then git submodule foreach --recursive git checkout stable?
Then what? I tried going into the directory for a submodule, then doing ./configure -developer-build -xplatform android-g++ [other flags] but it says -xplatform is an invalid command line parameter.
By the way, any idea when 5.1 will be released?
-
End of April or somewhere in May this year.
Don't go into a subdir. Configure is to be used in the root directory of qt5.git.