Results 1 to 10 of 10

Thread: adding icons from resources to buttons without Qt3Support

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2006
    Posts
    20
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    1

    Default adding icons from resources to buttons without Qt3Support

    Hi All,

    I've got a resource file which I've used to add icons to buttons in designer.

    The problem I've hit is that the code it generates uses qPixmapFromMimeSource - which I can get to work using Qt3Support, but I'd rather have it generate Qt4 style code.

    Anyone know how I can get it to do this? Or what I should be using if I put the changes into the constructor of my class which inherits this ui file?

    Cheers,

    Alan.
    Last edited by skyphyr; 5th December 2006 at 16:03. Reason: more accurate title

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.