jshafferman
28th September 2011, 16:13
I used the following link: http://doc.qt.nokia.com/4.7-snapshot/appicon.html and followed it word for word and I am still getting errors.
I have a folder let say called Application that has all the necessary files in it (.h,.cpp,.ico,.rc) and I first locate the folder and run this (running Windows):
qmake -project
This creates the .pro file which I then add the line according to the link:
...
// stuff
RC_FILE = myapp.rc (this file is identical to the one mentioned in the link)
...
Then type the following command in:
qmake Application.pro
Then do the normal compiling methods like so:
mingw32-make clean
qmake -config release
mingw32-make
After compiling for a bit, I receive the following error:
myapp.ico: read of 45989871 returned 0
Is there something I am missing?
I have a folder let say called Application that has all the necessary files in it (.h,.cpp,.ico,.rc) and I first locate the folder and run this (running Windows):
qmake -project
This creates the .pro file which I then add the line according to the link:
...
// stuff
RC_FILE = myapp.rc (this file is identical to the one mentioned in the link)
...
Then type the following command in:
qmake Application.pro
Then do the normal compiling methods like so:
mingw32-make clean
qmake -config release
mingw32-make
After compiling for a bit, I receive the following error:
myapp.ico: read of 45989871 returned 0
Is there something I am missing?