开发者

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.开发者_JS百科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


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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜