Results 1 to 2 of 2

Thread: Custom Icon Missing from Window Menu Bars

  1. #1
    Join Date
    Sep 2012
    Posts
    7
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Question Custom Icon Missing from Window Menu Bars

    Custom Icon Missing from Window Menu BarsIcons show up fine on my system, but when installed on systems without Qt, the custom icon does not display, the default icon displays enstead. However, the Desktop and the Taskbar displays my custom icon just fine.

    Things Already Tried/Done:

    Yes, both QtCore4.dll, and QtGui4.dll are included.

    Additionally, I have run the executable through Dependency Walker and all dependencies are included in my Setup project/build. Nothing appears to be missing from the build.

    I have a foo.qrc file with the customIcon.ico file and an foo.rc file that has the same. The *.rc file provides the icon on the desktop and taskbar. It seems to be working fine.

    The puzzler is the Qt window icons show up fine on my system and on another developers system, but not on non-Qt systems.

    How do I fix this?

    System: Win7 Prof 64bit, Visual Studio 10, Qt 4.8.1

    Thanks;
    masher333

  2. #2
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    85
    Thanks
    2
    Thanked 13 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Custom Icon Missing from Window Menu Bars

    Try put folder %Qt%/plugins/imageformats with your executable file

Similar Threads

  1. docked widgets and custom title bars
    By GrahamLabdon in forum Newbie
    Replies: 0
    Last Post: 16th March 2011, 09:12
  2. QMessageBox missing icon
    By zanth in forum Qt Programming
    Replies: 3
    Last Post: 8th July 2010, 21:20
  3. Change color of Windows Mobile menu bars
    By hubbobubbo in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 8th April 2010, 17:14
  4. Adding scroll bars to a main window
    By dougab in forum Newbie
    Replies: 9
    Last Post: 25th December 2007, 20:27
  5. Not show the progress bars under another window
    By SkripT in forum Qt Programming
    Replies: 6
    Last Post: 13th March 2006, 17:22

Tags for this Thread

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.