Results 1 to 5 of 5

Thread: How to set icon to the binary file created?

  1. #1
    Join Date
    Jun 2010
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Question How to set icon to the binary file created?

    I have done a project. I dont want the binary file to be in the default diamond shape. I want it to be a jpg file instead.
    How to do that?

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: How to set icon to the binary file created?

    In order to give you a quality response, can you please explain your question a little bit better?
    Do you want to set a custom window or application icon?

  3. #3
    Join Date
    Jun 2010
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: How to set icon to the binary file created?

    An application..
    I have done some calculator kind of application. I want to change the way the icon of the bin file appears..

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: How to set icon to the binary file created?

    I still have no idea what you want.
    Do you mean this?
    http://doc.qt.nokia.com/4.6/qwidget....indowIcon-prop

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to set icon to the binary file created?

    You need to create and deploy a .desktop file for your application.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. MOC created file compiled twice
    By DanReed in forum Newbie
    Replies: 1
    Last Post: 11th June 2010, 16:10
  2. Replies: 0
    Last Post: 17th March 2010, 13:25
  3. examining an sqlite db file created by QSqlDatabase
    By gmseed in forum Qt Programming
    Replies: 1
    Last Post: 16th October 2009, 15:54
  4. Replies: 1
    Last Post: 28th January 2009, 09:21
  5. How to Print a doc file (or binary file) to printer
    By rmagro in forum Qt Programming
    Replies: 15
    Last Post: 5th September 2008, 15:46

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.