Thanks for the kind words (and the great project to hack on!)
Here's the instructions. If you've already got the NDK and SDK
installed you can skip a lot of it.
1. Turn off UAC. UAC will prevent programs such as install.exe from
running, though this may not matter!
2. Download and install 7zip from
http://www.7-zip.org/download.html
3. Download and install Java JDK 1.6 u24, 32bit or 64bit (if using
64bit Windows, though 32bit should also work on 64bit Windows) and set
the following environment variable:
JAVA_HOME=<where you installed Java>, e.g. C:\Program Files\Java
\jdk1.6.0_24
4. Install Google's SDK I used the .exe (
http://dl.google.com/android/
installer_r10-windows.exe) and installed it to the default location (C:
\Program Files (x86)\Android). Run "SDK Manager.exe" and download the
android-4 platform (for minimum SDK testing) and android-9 (or above)
for debugging. Create an android-9 (or above) AVD too (though this can
also be done later from within Necessitas). Sometimes it falsely
reports that Java is not installed, if this happens, click back then
next again. When you exit the SDK Manager, it may tell you to add Java
to your path. If you elect to use my android.exe at stage 8, this
shouldn't matter, but you may as well.
5. Download
http://prdownloads.sourceforge.net/project/gnuwin32/coreutils/5.3.0/coreutils-5.3.0-bin.zip,
unzip it and copy coreutils\bin\pwd.exe, coreutils\bin\mkdir.exe,
coreutils\bin\rm.exe, coreutils\bin\rmdir.exe and coreutils\bin
\install.exe from within to the tools subfolder where you installed
the SDK. (e.g. C:\Program Files (x86)\Android\android-sdk\tools)
6. Download
http://prdownloads.sourceforge.net/project/gnuwin32/coreutils/5.3.0/coreutils-5.3.0-dep.zip,
unzip it and copy bin\libiconv2.dll and bin\libintl3.dll from within
to the same folder where you put pwd, mkdir, rm, rmdir and install.
7. Download
http://mingw-and-ndk.googlecode.com/files/make-3.7z,
un7zip it and copy make.exe to the same folder.
8. Optionally (if you would like to see fewer flashing DOS boxes when
using Necessitas QtCreator) download
http://mingw-and-ndk.googlecode.com/files/android-2.7z,
un7zip it and copy android.exe to the same folder. You can delete
android.bat from there if you wish.
9. Download Google's NDK r5b from
http://dl.google.com/android/ndk/android-ndk-r5b-windows.zip
and unzip it into a path without any spaces in it. I used C:\android-
ndk-r5b
10. Download my new toolchain part of the NDK from
http://mingw-and-ndk.googlecode.com/files/android-ndk-toolchain-4.4.3-gdb-7.2.50-python-2.7.1-7.2.50.20110211-windows-2.7z
and un7zip it into the folder where you installed Google's NDK r5b;
Windows should prompt about overwriting folders and files, allow this
to happen (if it doesn't prompt you then you're not un7zipping it to
the right place).
11. Make a folder called C:\Necessitas and a subfolder called C:
\Necessitas\Android
12. Download
http://mingw-and-ndk.googlecode.com/files/Necessitas-QtCreator-Alpha-4.7z.001
and
http://mingw-and-ndk.googlecode.com/files/Necessitas-QtCreator-Alpha-4.7z.002
to the same folder (the password is tooorangeyforcrows). Un7zip
Necessitas-QtCreator-Alpha-4.7z.001 to C:\Necessitas (you should end
up with a folder called C:\Necessitas\QtCreator)
13. Download
http://mingw-and-ndk.googlecode.com/files/4.7.60-mingw.7z
and un7zip it to C:\Necessitas\Android (you should end up with a
folder called C:\Necessitas\Android\4.7.60)
14. Make a directory C:\ant, then download
http://mirror.lividpenguin.com/pub/apache/ant/binaries/apache-ant-1.8.2-bin.zip
and unzip the contents of apache-ant-1.8.2 to this directory (so that
you have C:\ant\bin\ant.bat)
15. Set the following environment variables:
ANDROID_NDK_HOST=windows
ANDROID_NDK_ROOT=<where you installed NDK r5b>, e.g. C:\android-ndk-
r5b
16. Run C:\Necessitas\QtCreator\bin\qtcreator.exe and follow the Linux
instructions at:
http://sourceforge.net/p/necessitas/wiki/Setup
QtCreator/ (replacing ant with ant.bat though)
17. Go to Tools->Options->Debugger, in the Source Path Mappings and
add:
Source path /opt/necessitas
Target path C:/Necessitas
18. Finally follow the Linux instructions at:
http://sourceforge.net/p/necessitas/wiki/How
to write Qt apps for Android/
19. Before attempting to debug the application, go to Projects->Build
Settings and change the build configuration to the Debug one, also
check the Run Settings are what you want. To be able to debug, make
sure you set your Android target SDK: to android-9 or above (this is
in Projects->Run Settings->Package configurations).
20. Press "Start Debugging" or press f5. If you're using the emulator,
the first time you do this it's likely that the emulator won't start
up in time for QtCreator. If this happens, just press it again, as the
emulator should now be ready (or near enough ready by the time it
tries to launch your app again)
21. If you get an error "Can't copy gdbserver from..." then go to
Tools->Options->Android and make sure that Android NDK toolchain
version is set to arm-linux-androideabi-4.4.3. Other toolchains will
not work, and I've not got the time to support old software.
Note: If you at any stage use the "SDK Manager" to download and
install "Android SDK Tools, revision 10" (or any other version for
that matter), this will delete some of the programs you installed.
You'll need to redo steps 5 to 8 in this case.
If anyone has any problems with this then give me a shout.
Ray.