Building qnx-qt-mobility on Windows is a straight forward job. Make sure that your Qt is installed where you want it (see previous post). Then bear in mind the following:
- Set the environment variables TMP and TEMP to c:\Temp. Make sure the folder does not contain any white spaces.
- Add ‘-lEGL’ to qnx-qt-mobility\doc\src\snippets\sensors\Makefile when that build fails. You should add it where ‘LIBS’ is declared. The end of the line should look like: ‘-LC:/apps/bbndk-2.1.0/target/qnx6/armle-v7/usr/lib -lEGL -lQtCore -lm -lbps‘
- configure it using: configure.bat -prefix c:\apps\bbndk-2.1.0\qt-4.8.3
- make it and install it.
Adding the EGL library to the makefile is something I also need to do when building Qt applications from the BBNDK. Maybe my Qt build is not quite right or it is not documented.
Now it’s time to figure out how to use Qt mobility…