Re: [PyKDE] PyQt4 and win98

2006-11-09 Thread Panard
Le lundi 06 novembre 2006 10:42, Michael Towers a écrit :
 Hi,

 I may be doing something stupid (such as trying it on win98!) but it
 seems not to work - Qt4.2.1 demos work fine, PyQt4.1 installation went
 ok, but 'from PyQt4 import QtCore' gives 'DLL load failed'.

I'm experiencing the same problem on windows XP.
PyQt 4.0.1 just worked fine, but after uninstalling it and installing PyQt 
4.1, PyQt cannot find mingw32m.dll.

This is a PATH problem I guess, but, I don't understand why it worked with 
PyQt 4.0.1 and is no longer working with 4.1

Thanks,

Panard
-- 
HomePage: http://dev.inzenet.org/~panard/
Yzis : http://www.yzis.org
Qomics : http://dev.inzenet.org/~panard/qomics
Smileys : http://smileys.inzenet.org

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[PyKDE] PyQt4 and win98

2006-11-08 Thread Michael Towers

Hi,

I may be doing something stupid (such as trying it on win98!) but it 
seems not to work - Qt4.2.1 demos work fine, PyQt4.1 installation went 
ok, but 'from PyQt4 import QtCore' gives 'DLL load failed'.


___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] PyQt4 and win98

2006-11-08 Thread Phil Thompson
 Hi,

 I may be doing something stupid (such as trying it on win98!) but it
 seems not to work - Qt4.2.1 demos work fine, PyQt4.1 installation went
 ok, but 'from PyQt4 import QtCore' gives 'DLL load failed'.

I'm afraid that you will have to diagnose the problem yourself.

Phil

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] PyQt4 and win98

2006-11-08 Thread Michael Towers

Phil Thompson wrote:

Hi,

I may be doing something stupid (such as trying it on win98!) but it
seems not to work - Qt4.2.1 demos work fine, PyQt4.1 installation went
ok, but 'from PyQt4 import QtCore' gives 'DLL load failed'.


I'm afraid that you will have to diagnose the problem yourself.

Phil




Well, I just managed it.

1) Just in case, to extend the environment space (I found this somewhere 
on the internet):


 - add the following line to the CONFIG.SYS file in the root directory
 SHELL=C:\WINDOWS\COMMAND.COM /P /E:4096
 - add the following line to the SYSTEM.INI file (in c:\windows) under 
the heading [NonWindowsApp]

 CommandEnvSize=2424
 - reboot your computer

2) Add to C:\autoexec.bat:

set PATH=C:\Qt\4.2.1\bin;C:\MinGW\bin;%PATH%

It seems to work fine now.

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde