rhg135
rhg135

Reputation: 21

Jpeg plugin not loading in PySide/Qt

I'm at wits end trying to figure out why my Qt install will not display JPEG. Initially I noticed when PySide would not display the image. I built a simplified version in both c++ and python, none work.
I've tried qt.conf but no-go. I don't know what else to try, but I do know that it's not just PySide.

P.S. this is on os x 10.6.7 with xcode4
http://www.mediafire.com/?79vhbwwvmilwm2o - .tar.bz2 containing my code. It'll load an image called test, which works fine for png's not jpeg's

Upvotes: 2

Views: 523

Answers (2)

Daniel
Daniel

Reputation: 21

Try to include PySides plugin directory with: app.addLibraryPath(pathToPluginDirectory)

Upvotes: 2

user830786
user830786

Reputation: 1

Probably Qt was built without jpeg support. From where did you install it?

Upvotes: 0

Related Questions