PDA

View Full Version : JPEG support for statically linked Qt using PyQt



Tommytrojan
20th July 2010, 21:12
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

Tommytrojan
21st July 2010, 05:01
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.