[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] PyQT4 and eclipse
From:       "Krystian Samp" <samp.krystian () gmail ! com>
Date:       2007-05-21 21:42:56
Message-ID: cfa896710705211442j595bdca0m766bf382e8cf295b () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

2007/5/21, joanne matthews (RRes-Roth) <joanne.matthews@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@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>

[Attachment #5 (text/html)]

Hi,<br><br><div><span class="gmail_quote">2007/5/21, joanne matthews (RRes-Roth) \
&lt;<a href="mailto:joanne.matthews@bbsrc.ac.uk">joanne.matthews@bbsrc.ac.uk</a>&gt;:</span><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> Has anyone had any success using eclipse with PyQt \
4.2 and Python 2.5.<br>When I run a python script with<br>from PyQt4 import QtCore, \
QtGui<br>I get the error message<br>&quot;The application failed to start because \
mingwm10.dll  was not found.&quot;<br>When I run in from the command line I need to \
set my path and pythonpath<br>before it will import PyQt but presumably I need to set \
something in<br>Eclipse. I tried Selecting \
Window=&gt;preferences=&gt;interpreter-python and <br>added a new folder (containing \
mingwm10.dll) c:\minGW\bin, to the<br>PythonPath but it didn&#39;t resolve the \
problem. Any ideas?</blockquote><div><br>Add c:\minGW\bin to the Windows Path \
environment variable: MyComputer-&gt;Properties-&gt;Advanced-&gt;Environment \
Variables-&gt;System Variables-&gt;Path. <br><div>Restart Eclipse and try to start \
your script. I have also a directory containing Qt* libraries in that Path \
variable.<br></div><br>Cheers,<br><span class="sg">Krystian</span> \
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> \
_______________________________________________<br>PyQt mailing \
list&nbsp;&nbsp;&nbsp;&nbsp;<a \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br><a \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt
 </a><br></blockquote></div><br>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic