Results 1 to 5 of 5

Thread: setting main window icon on linux platform

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2006
    Posts
    28
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default setting main window icon on linux platform

    I have used
    QApplication::setWindowIcon(QIcon(":/pss_icons/datapath.png"));
    I have also used the same icon for one of the toolbar buttons.
    I have compiled it using .qrc.
    The toolbar icon is getting displayed but the application icon is coming as black rectangle.

    But the icon is getting displyed on windows. Pls suggest.
    Pls suggest.

    Thanks
    Last edited by jyoti kumar; 20th June 2007 at 11:42.

Similar Threads

  1. move parent window to the front.
    By hvengel in forum Qt Programming
    Replies: 4
    Last Post: 2nd February 2007, 08:41
  2. Setting the starting position of Main Window
    By vishal.chauhan in forum Qt Programming
    Replies: 1
    Last Post: 20th December 2006, 12:17
  3. Replies: 5
    Last Post: 4th August 2006, 23:44
  4. Problem in porting Main window on linux
    By jyoti kumar in forum Qt Tools
    Replies: 2
    Last Post: 2nd June 2006, 08:35
  5. cannot make a main window modal
    By Dark_Tower in forum Qt Programming
    Replies: 12
    Last Post: 23rd March 2006, 10:21

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.