Results 1 to 5 of 5

Thread: Windows 7 and QPixmap

  1. #1
    Join Date
    Aug 2008
    Location
    Texas, USA
    Posts
    44
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Windows 7 and QPixmap

    I'm having difficulty loading a jpeg image into a QPixmap in windows 7. I've even attempted running the Qt demo: imagescaling.exe and browsing and loading in there as well.

    Now granted I am running Qt 4.5.1 and not the latest 4.5.3, however looking through the release notes of those versions i didn't see any mention of a bug fix. I've looked through the bug reports and I could not see anything either.

    Has anybody else seen this problem? It loads bmps just fine but not JPEGs.

    Also I wasn't sure of the best way to search the forums for windows 7 or the bug tracker on trolltech. I tried Windows 7, "Windows 7", windows7, etc. Not sure what the best combination is.

    Thanks!

  2. #2
    Join Date
    Oct 2009
    Posts
    37
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Windows 7 and QPixmap

    As far as I remember Qt 4.6 will be the first that supports Windows 7.
    Try the release candidate which should come out next week
    Disclaimer: Although I work on Qt for Nokia, anything I post here is personal

  3. #3
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Windows 7 and QPixmap

    But what problem do you have exactly? Is it displaying any dialog window with errors or what? Can describe what those difficulties are?
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  4. #4
    Join Date
    Feb 2009
    Posts
    79
    Thanks
    11
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Windows 7 and QPixmap

    Are you sure that your qt app finds the necessary jpeg-plugin-dll?
    it must be in imageformats directory

  5. #5
    Join Date
    Aug 2008
    Location
    Texas, USA
    Posts
    44
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Windows 7 and QPixmap

    I know this is an old thread but I just wanted to say that olidem was correct and I was missing the jpeg-plugin. I did not know you had to distribute those (actually I did not know they existed). Anyways works great.

Similar Threads

  1. Position in a QPixMap created from a QGraphicsScene
    By stevel in forum Qt Programming
    Replies: 8
    Last Post: 8th April 2009, 22:39
  2. QPixmap memory handling
    By Angelo Moriconi in forum Qt Programming
    Replies: 0
    Last Post: 1st December 2008, 15:37
  3. QPixmap bug under Qt4.3.1 ?
    By Nyphel in forum Qt Programming
    Replies: 8
    Last Post: 7th October 2007, 17:04
  4. QPixmap and HBITMAP
    By ToddAtWSU in forum Qt Programming
    Replies: 1
    Last Post: 21st June 2006, 16:24
  5. Replies: 6
    Last Post: 10th April 2006, 10:47

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.