cia.michele
5th May 2010, 08:02
Hello to everybody,
I'm a newbie with QT, and while I try to compile my application, I saw this strange behavior (strange, probably only for me).
I can configure, by mean of .qrc (QT Resource file) all the images, and icon for my application, and find them by resource path (:/prefix/files) but... How can I set the application icon (the icon of .exe executable)?
Looking up on-line documentation, i found a guide that explain the use of a .rc files, in which i should describe the icon and add this to the .pro file. I try it, it work fine, but, why It is necessary? Is it impossible take the application icon from the .qrc file, so the .qrc file substitute completely the .rc file? If no, why?
Thanks for your answers.
Michele
I'm a newbie with QT, and while I try to compile my application, I saw this strange behavior (strange, probably only for me).
I can configure, by mean of .qrc (QT Resource file) all the images, and icon for my application, and find them by resource path (:/prefix/files) but... How can I set the application icon (the icon of .exe executable)?
Looking up on-line documentation, i found a guide that explain the use of a .rc files, in which i should describe the icon and add this to the .pro file. I try it, it work fine, but, why It is necessary? Is it impossible take the application icon from the .qrc file, so the .qrc file substitute completely the .rc file? If no, why?
Thanks for your answers.
Michele