Results 1 to 3 of 3

Thread: Adding Icons

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2010
    Posts
    42
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    2

    Question Adding Icons

    I have tried doing
    Qt Code:
    1. MY_ICON ICON "C:\users\bijan\pictures\program icons\icon.ico"
    To copy to clipboard, switch view to plain text mode 
    but the icon only shows up in the desktop but it doesn't show up in the actual program (you can see what I mean in the attachments).
    I have also tried
    Qt Code:
    1. QApplication::setWindowIcon(QIcon(" C:\users\bijan\pictures\program icons\icon.ico"));
    To copy to clipboard, switch view to plain text mode 
    but that distorts the picture.

    Thank you in advance
    Attached Images Attached Images

Similar Threads

  1. Replies: 1
    Last Post: 22nd February 2010, 11:53
  2. Trolltech example - getting rid of icons?
    By teele in forum Qt Programming
    Replies: 1
    Last Post: 26th February 2009, 19:59
  3. Where to get Icons from
    By pospiech in forum General Discussion
    Replies: 4
    Last Post: 19th December 2008, 22:14
  4. Replies: 9
    Last Post: 11th January 2007, 16:34
  5. (Qt 4) QTreeview and Icons?
    By pinktroll in forum Qt Programming
    Replies: 4
    Last Post: 17th August 2006, 17:06

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.