current qt4.py doesn't work for win32

Ralf Habacker ralf.habacker at freenet.de
Sun Oct 30 22:37:47 CET 2005


Am Sonntag, 30. Oktober 2005 20:55 schrieb Christian Ehrlicher:
> Hi,
>
> The current version of qt4.py throws this error:
>
> -----------------8<----------------
> KeyError: 'PREFIX':
>   File "SConstruct", line 105:
>     env.subdirs(dirs)
>   File "bksys\generic.py", line 880:
>     lenv.SConscript(lenv.join(i, 'SConscript'))
>   File "D:\Programme\Python\scons-0.96.91\SCons\Script\SConscript.py",
> line 494:
>     return apply(_SConscript, [self.fs,] + files, {'exports' : exports})
>   File "D:\Programme\Python\scons-0.96.91\SCons\Script\SConscript.py",
> line 226:
>     exec _file_ in call_stack[-1].globals
>   File "win\SConscript", line 7:
>     obj = env.qt4obj('shlib',env)
>   File "./bksys\qt4.py", line 345:
>     if val == 'shlib':     self.instdir=senv.join(senv['PREFIX'], 'lib')
>   File "D:\Programme\Python\scons-0.96.91\SCons\Environment.py", line 267:
>     return self._dict[key]
> -----------------8<----------------
>
Probably this entries of the last commit 
* cleanup for multiple definitions of command line options like PREFIX* 

a hack may be to set env['PREFIX'] anywhere to empty string. 

Ralf 


More information about the Kde-buildsystem mailing list