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

List:       pykde
Subject:    Re: [PyKDE] PyQt4 and win98
From:       Michael Towers <gradgrind () tiscali ! de>
Date:       2006-11-08 14:03:20
Message-ID: 4551E3A8.1010000 () tiscali ! de
[Download RAW message or body]

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 list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

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