Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Setting Icon to Application
Qt 6.11 is out! See what's new in the release blog

Setting Icon to Application

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    petergollapalli
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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).

      (Z(:^

      1 Reply Last reply
      0
      • P Offline
        P Offline
        petergollapalli
        wrote on last edited by
        #3

        [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 by debug/RHx_res.o'. Stop. "

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cincirin
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved