Setting Icon to Application



  • HI every one i am new to Qt, i have developed one small application it is running with out any errors. I want to add icon to my application, so that when i clicked on that icon my application should Run.Can any one help me in this?.
    Thanking You


  • Moderators

    No Qt way of doing this as far as I know. You need to use platform-specific solutions (winres.rc on Windows, various methods in Linux, app bundles on Mac).



  • [quote author="sierdzio" date="1351240634"]No Qt way of doing this as far as I know. You need to use platform-specific solutions (winres.rc on Windows, various methods in Linux, app bundles on Mac).[/quote]

    Thank you for giving the reply.I am using Windows 7 OS, I had Created .rc file and one bit map image.
    I copied .rc file into .pro file But it is giving me Error Like cannot ":-1: error: No rule to make target ..\..\..\Users\Conquerors04\Desktop\updated', needed bydebug/RHx_res.o'. Stop. "



  • "Setting the Application Icon":http://qt-project.org/doc/qt-4.8/appicon.html


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.