Results 1 to 4 of 4

Thread: .JPEG Images not shown when project compiled statically?

  1. #1
    Join Date
    Mar 2006
    Posts
    47
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11

    Default .JPEG Images not shown when project compiled statically?

    Hi,

    I have a QIconView on a dialog. I am able to see the image of .jpeg,png,.bmp. But when i compile my project statically then i am not able to see the .jpeg images. What should i have to do? when i uses QImage::inputFormatList() to have an idea of supported imput formats then it gives following output
    BMP
    JPEG
    PBM
    PGM
    PNG
    PPM
    XBM
    XPM

    What i should do when i compiling the project statically so that its app run on system where qt is not installed.

    Thanks and Regards

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: .JPEG Images not shown when project compiled statically?

    In Qt3 you have to compile JPEG support into Qt library, in Qt4 you have to use static plugins.

  3. #3
    Join Date
    Mar 2006
    Posts
    47
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: .JPEG Images not shown when project compiled statically?

    Hi,

    I am using the qt3 and i compile the qt using following :-

    ./configure -qt-imgfmt-jpeg

    But still i am not able to show the jpeg images in statically compiled app.

    Thanks and Regards

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: .JPEG Images not shown when project compiled statically?

    Maybe it can't find libjpeg? Do you use the one that comes with Qt?

Similar Threads

  1. Qt is compiled statically, now what ?
    By probine in forum Qt Programming
    Replies: 1
    Last Post: 30th May 2006, 12:46

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.