I use print QtGui.QImageReader.supportedImageFormats()
but in the output, there is no jpeg.
I searched the problem and find out that I need the *.dylib
in plugins/imageformats
.
So I moved it to py2.7/site-packages/PyQt4
, but I still cannot load jpeg.
I use a python script, not py2exe, just python test_pyqt.py
.
What should I do now?
Mac os x Mountain Lion 10.8.2, Python 2.7, PyQt4