Results 1 to 10 of 10

Thread: adding icons from resources to buttons without Qt3Support

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: adding icons from resources to buttons without Qt3Support

    Can you post a small compilable example experiencing such a behaviour? Are you porting from Qt3? In the snippet you posted everything seems to be fine, the problem has to be elsewhere...

  2. #2
    Join Date
    Jan 2006
    Location
    Cambridge, MA
    Posts
    32
    Thanked 7 Times in 6 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: adding icons from resources to buttons without Qt3Support

    I have run into this when porting Qt3 forms to Qt4. You should just delete the pixmapFunction (or something to that effect) tag and its contents from the .ui file by hand. Worked for me. Newly created forms should not have this problem.

    --Justin

  3. The following user says thank you to Glitch for this useful post:

    skyphyr (26th February 2007)

  4. #3
    Join Date
    Nov 2006
    Posts
    20
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: adding icons from resources to buttons without Qt3Support

    Hi,

    Sorry again for the delay. This has definitely fixed it for me :-) I've only even worked in Qt4 for this project - perhaps I accidentally opened the ui in kdevelop's embedded designer?

    Thanks very much for the help with this one.

    Cheers,

    Alan.

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.