For more details, please read: http://doc.qt.nokia.com/latest/qt-conf.html
2010/12/18 Roman Lacko <[email protected]>: > Hi, > > the path where the Qt is looking for plugins is configured via the > config file named qt.conf. > The qt.conf file must be located in folder where the main executable is > located. > For example if You execute python script with python.exe installed in > c:\Python26\ > the config must be located also in c:\Python26\. > > Please see qt.conf file generated by PySide setup: c:\Pythn26\qt.conf. > and setup the path to the plugins regarding to Your paths. > > Regards > -Roman > > 2010/12/18 Thomas Perl <[email protected]>: >> Hi everybody, >> >> I'm trying to package my PySide application for Windows. It loads JPEG >> files with QPixmap. This works great when using the system-wide >> installation of Python 2.6 with the PySide binary package from the Qt >> DevNet Wiki. When using cx_freeze to package the application, the app >> itself still works perfectly, but loading of JPEG images does not work >> anymore. >> >> I've tried copying the "plugins" folder of PySide (which contains a >> JPEG file format plugin) into the directory where the packaged >> application is located - that does not work. Does anybody know where >> Qt looks for these image plugins, or how I can tell Qt to load the >> JPEG plugin by specifying its DLL filename? Loading PNG files works >> without problems, though - I guess PNG support is built-in by default, >> but I would like to use JPEG for my specific use case. >> >> Thanks, >> Thomas >> _______________________________________________ >> PySide mailing list >> [email protected] >> http://lists.openbossa.org/listinfo/pyside >> > _______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
