[PyQt] PyQT4 and eclipse

Krystian Samp samp.krystian at gmail.com
Mon May 21 22:42:56 BST 2007


Hi,

2007/5/21, joanne matthews (RRes-Roth) <joanne.matthews at bbsrc.ac.uk>:
>
> Has anyone had any success using eclipse with PyQt 4.2 and Python 2.5.
> When I run a python script with
> from PyQt4 import QtCore, QtGui
> I get the error message
> "The application failed to start because mingwm10.dll was not found."
> When I run in from the command line I need to set my path and pythonpath
> before it will import PyQt but presumably I need to set something in
> Eclipse. I tried Selecting Window=>preferences=>interpreter-python and
> added a new folder (containing mingwm10.dll) c:\minGW\bin, to the
> PythonPath but it didn't resolve the problem. Any ideas?


Add c:\minGW\bin to the Windows Path environment variable:
MyComputer->Properties->Advanced->Environment Variables->System
Variables->Path.
Restart Eclipse and try to start your script. I have also a directory
containing Qt* libraries in that Path variable.

Cheers,
Krystian

_______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070521/5a94a01f/attachment.html


More information about the PyQt mailing list