[PyKDE] PyQt4 and win98
gradgrind at tiscali.de
Wed Nov 8 14:03:20 GMT 2006
Phil Thompson wrote:
>> 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.
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]
- reboot your computer
2) Add to C:\autoexec.bat:
It seems to work fine now.
More information about the PyQt