Results 1 to 5 of 5

Thread: Jpeg not support~

  1. #1

    Default Jpeg not support~

    I use "configure -static -qt-libjpeg -release" recompile Qt 4.1.1,But I find

    it can not support the read-write of “jpeg”. This is my codes. I use it to

    get the supporting-list, but I don't find the file format “JPEG”.

    QList<QByteArray> formats = reader.supportedImageFormats();
    foreach(QByteArray format, formats)
    QMessageBox::information(this, "format", format);

    I could find “libqjpeg.a,libqjepg1.a,qjpeg1.dll” in path "plugins\imageformats" directory But when I finished compilation after added libqjpeg.a to the project, it still could not use QImageReader to read “jpeg” files.


    I checked the <http://www.qtcentre.org/forum/showthread.php?t=1182&highlight=jpeg+support> carefully, but I didn't find how to solve the problem.

    help me~~

    platform: winxp
    Qt: 4.1.1 open source

  2. #2
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: Jpeg not support~

    If jpeg support in open source win ver then you must rebiuld(confugure) your Qt library with it(how you must do it for MingW i dont know)
    a life without programming is like an empty bottle

  3. #3

    Default Re: Jpeg not support~

    1. install Qt4.1.1 open source with MingW
    2. configure -static -qt-libjpeg -release
    3. make

    only three step... have any question?

  4. #4
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: Jpeg not support~

    a life without programming is like an empty bottle

  5. #5

    Default Re: Jpeg not support~

    ooo.......

Similar Threads

  1. WekKit won't load JPEG images.
    By andrem in forum Qt Programming
    Replies: 4
    Last Post: 10th December 2008, 00:24
  2. Replies: 32
    Last Post: 30th March 2008, 20:00
  3. How to deal with jpeg deployment problem with Visual C++ compiler
    By nooky59 in forum Installation and Deployment
    Replies: 5
    Last Post: 27th March 2008, 11:20
  4. Qt static library with jpeg support
    By vishal.chauhan in forum Installation and Deployment
    Replies: 2
    Last Post: 11th May 2007, 06:53

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.