Results 1 to 8 of 8

Thread: An Application Icon - .pxm format

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Posts
    33
    Thanks
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: An Application Icon - .pxm format

    How to Change the Application Icon... tutorial
    1. Open notepad.
    2. Type: IDI_ICON1 ICON DISCARDABLE "icon.ico"
    Note: ”icon.ico is the name of the icon you want to use. ”
    3. Save it as icon.rc
    Note: When saving, be sure that there is no .txt extention in the filename, it should be a .rc. You can change the filename to whatever filename you want.
    4. Open your project. The *.pro file.
    5. Add this line : RC_FILE=icon.rc
    Note: “icon.rc is the name of the .rc you previously created”
    6. Save.
    7. Place your desired icon to the folder where your project (*.pro) was located.

    8. Finally, build/rebuild your project.

  2. The following 2 users say thank you to triperzz for this useful post:

    mismael85 (18th February 2008), slava (18th February 2008)

  3. #2
    Join Date
    Feb 2008
    Posts
    43
    Thanks
    14

    Default Re: An Application Icon - .pxm format

    Thank you very much!

  4. #3
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: An Application Icon - .pxm format

    thank you very much.
    can i ask from where did you konw this information?

  5. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: An Application Icon - .pxm format

    It's documented here: Setting the Application Icon
    J-P Nurmi

  6. The following user says thank you to jpn for this useful post:

    mismael85 (18th February 2008)

Similar Threads

  1. How to set the application icon in Linux?
    By live_07 in forum Newbie
    Replies: 11
    Last Post: 24th September 2010, 09:39
  2. Some very weird compilation warnings
    By MarkoSan in forum Qt Programming
    Replies: 21
    Last Post: 23rd January 2008, 16:48
  3. Mac application and the Dock Icon
    By sekelsenmat in forum Qt Programming
    Replies: 3
    Last Post: 26th September 2007, 10:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.