My company needs some small applications for our customers, so last weekend I started some Qt4-applications. We need them to run with Microsoft Windows, so I removed the dust from my Windows Vista and started installing things. I must say it takes a while to get the hang of Windows again. Annoying is that stuff is not in the path on the command line.
After installing a subversion client to check out the sources, after that installing Vim for Windows. And after that I needed Qt and a compiler and stuff. Fortunately, the Qt windows installer asks if you want to install the ‘compiler and stuff’ part. So it installs everything is needed. Trolltech did a good job there.
After that qmake and make works without problems. That is, there is no debug output printed to the console. You need a separate application ‘debugview’ which shows you all the output. Now I’m recompiling Qt with debug symbols, so that will take a bit. If you are using Vista, you need to add ‘SET PATH=%PATH%;C:\MinGW\libexec\gcc\mingw32\3.4.2′ to your qtvars.bat, else it will fail with can not find cc1 error.
I’m still fighting with QProcess, which seems to have his own ideas about quoting and escaping. Combined with an application which has his own ideas about detecting stdin, I’m having fun tackling this. It will take me a couple of days to get it right probably.
It’s great to be able to create open source applications on Windows.
