View Full Version : Setting executable's icon
dorians58
24th August 2010, 14:03
Hi all;
How may I set executable's icon? I'm using VS2008. Have added an ico file to a qrc file and set it via "QApplication::setWindowIcon" but it doesn't effect on executable look.
Thanks in advance
Lykurg
24th August 2010, 14:46
its because setWindowIcon only affects the window. Like the names stats... See Setting the Application Icon (http://doc.trolltech.com/latest/appicon.html).
dorians58
24th August 2010, 18:49
I'm using VS2008 don't have pro files and so on, if there is way to add it properly could you please explain?
Lykurg
24th August 2010, 20:29
From the mentioned docs:
If you do not use qmake, the necessary steps are: first, run the rc program on the .rc file, then link your application with the resulting .res file.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.