Results 1 to 20 of 24

Thread: imageformats plugins

Threaded View

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

    Default Re: imageformats plugins

    Quote Originally Posted by ht1 View Post
    Thansk again, Wysota,

    I know that my program is OK because it works with BMP (and not with TIFF, GIF or JPG) images on the computer that does not have Qt4 installed and it works with all images on the computer that has Qt4 installed.
    What does this small program return on either of the machines?

    Qt Code:
    1. #include <QtGui>
    2. #include <QtDebug>
    3.  
    4. int main(int argc, char **argv){
    5. QApplication app(argc, argv);
    6. foreach(const QByteArray &fmt, QImageReader::supportedImageFormats()){
    7. qDebug() << QString(fmt);
    8. }
    9. return 0;
    10. }
    To copy to clipboard, switch view to plain text mode 

    How could I obtain/compile static versions of the imageformats dll files. Linking them to my exe seems like the best solution to me.
    You need to reconfigure and rebuild Qt. configure -help will show you the proper options.

  2. The following user says thank you to wysota for this useful post:

    ht1 (5th January 2008)

Similar Threads

  1. Qt Plugins Error
    By nathanpackard in forum Qt Programming
    Replies: 1
    Last Post: 17th August 2007, 23:19
  2. Nightmares with plugins
    By KShots in forum Qt Programming
    Replies: 6
    Last Post: 8th February 2007, 16:46
  3. Qt plugins - how to do a libtool-style autoload
    By KShots in forum Qt Programming
    Replies: 2
    Last Post: 7th February 2007, 12:40
  4. Arthur Plugins demos and designer
    By antonio.r.tome in forum Installation and Deployment
    Replies: 4
    Last Post: 21st March 2006, 14:01
  5. Plugins as small application
    By blackliteon in forum Qt Programming
    Replies: 4
    Last Post: 12th January 2006, 09:39

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.