Hello,
I am working with WinXP, Dev-C++ and Qt-4.2.2.
Today I tried to compile a resource file (*.qrc).
I added the line RC_FILE += TinyTimeRecorder.qrc to the pro-file for qmake.
But when I try to run make (after a qmake of course) I get the following message:
windres -i TinyTimeRecorder.qrc -o obj\TinyTimeRecorder.qrc --include-dir=.
windres: TinyTimeRecorder.qrc:1: syntax error
make[1]: *** [obj\TinyTimeRecorder.qrc] Error 1
make[1]: Leaving directory `C:/Tiny/TinyTimeRecorder'
make: *** [release] Error 2
windres -i TinyTimeRecorder.qrc -o obj\TinyTimeRecorder.qrc --include-dir=.
windres: TinyTimeRecorder.qrc:1: syntax error
make[1]: *** [obj\TinyTimeRecorder.qrc] Error 1
make[1]: Leaving directory `C:/Tiny/TinyTimeRecorder'
make: *** [release] Error 2
To copy to clipboard, switch view to plain text mode
Obviously make is trying to use the windres.exe, which is delivered with Dev-C++ (can be found in the bin directory) as resource coompiler.
I expected rcc (Trolltechs own resource compiler) to be used.
How can I tell qmake/make to use rcc instead of windres?
Bookmarks