Image 01
profile-image

whome

Aki Nieminen
test
Player

Audio Apps 6 comments

Score 50.0%
Jun 13 2010
For those who struggle to compile this example project as .zip does not have any instructions.

My system: WinXP, Qt4.6.2 for VisualStudio, MS Visual Studio C++ 2008 Express Edition

1) I edited Player.pro file, added the following lines to keep release folder clean after compilation.
OBJECTS_DIR = obj
MOC_DIR = moc


2) Create platform dependent makefiles
Create the following bat script, save to project folder, run it

set path=%path%;C:\Qt\4.6.2\bin
qmake -makefile


3) Compile a project
Create the following bat script, save to project folder, run it

call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
nmake release
pause


4) Copy images folder, run an app
Copy images folder to release/images, run release/Player.exe application
- Mar 14 2010