Results 1 to 2 of 2

Thread: JPEG support for statically linked Qt using PyQt

  1. #1
    Join Date
    Jan 2006
    Location
    Bend, Oregon
    Posts
    27
    Qt products
    Qt3
    Platforms
    MacOS X Unix/X11 Windows

    Default JPEG support for statically linked Qt using PyQt

    Hi,

    I'm using PyQt statically linking both PyQt and Qt all into one executable. The problem is that I don't seem to have the jpeg image format. I read somewhere that the jpeg format is only a plugin and that plugins don't work with a static link of Qt. Is that the case? How can I statically link the jpeg image format?

    Cheers,
    Thomas

  2. #2
    Join Date
    Jan 2006
    Location
    Bend, Oregon
    Posts
    27
    Qt products
    Qt3
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: JPEG support for statically linked Qt using PyQt

    Well, I figured it out. When configuring PyQt you can pass the --plugin=qjpeg option to the configure script, that seems to take care of things. Also, you need to link in the according qjpeg.lib library.

Similar Threads

  1. Replies: 2
    Last Post: 5th March 2010, 09:26
  2. Application seems not to be linked statically
    By Boron in forum Installation and Deployment
    Replies: 5
    Last Post: 2nd April 2008, 17:14
  3. Statically linked QtSql modules
    By runderwo in forum Qt Programming
    Replies: 5
    Last Post: 10th September 2007, 22:43
  4. Replies: 1
    Last Post: 18th April 2007, 20:48
  5. statically linked executable
    By smalls in forum Qt Programming
    Replies: 8
    Last Post: 11th February 2006, 02:09

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.