current qt4.py doesn't work for win32

Benjamin Reed rangerrick at befunk.com
Mon Oct 31 16:22:48 CET 2005


Christian Ehrlicher wrote:

> Still not working:
> - ----------------------8<------------------
> UnboundLocalError: local variable 'qtlibs' referenced before assignment:
> <snip>
>   File "bksys\kde4.py", line 10:
>     Tool('qt4', ['./bksys']).generate(env)
>   File "./bksys\qt4.py", line 131:
>     detect(env)
>   File "bksys\win32\detect_qt4.py", line 40:
>     if not qtlibs:     qtlibs     = os.path.join(qtdir, 'lib' + libsuffix)
> - ----------------------8<------------------

Can I assume that these errors on the mac are related?

---(snip!)---
NameError: global name 'libsuffix' is not defined:
   File "SConstruct", line 52:
     env=configure(config)
   File "bksys/generic.py", line 69:
     tools=mytools, toolpath=tool_path )
   File 
"/Users/ranger/cvs.build/kdelibs/scons-local-0.96.91/SCons/Memoize.py", 
line 819:
     klassdict['__init__'] = lambda self, *args, **kw: newinit(self, 
args, kw)
   File 
".../SCons/Memoizer-init-lambda</Users/ranger/cvs.build/kdelibs/scons-local-0.96.91/SCons/Memoize.py>", 
line 1:
     None
   File 
"/Users/ranger/cvs.build/kdelibs/scons-local-0.96.91/SCons/Memoize.py", 
line 778:
     apply(actual_init, (self,)+args, kw)
   File 
"/Users/ranger/cvs.build/kdelibs/scons-local-0.96.91/SCons/Memoize.py", 
line 1:
     """Memoizer
   File 
"/Users/ranger/cvs.build/kdelibs/scons-local-0.96.91/SCons/Memoize.py", 
line 781:
     apply(super(cls, self).__init__, args, kw)
   File 
"/Users/ranger/cvs.build/kdelibs/scons-local-0.96.91/SCons/Memoize.py", 
line 819:
     klassdict['__init__'] = lambda self, *args, **kw: newinit(self, 
args, kw)
   File 
".../SCons/Memoizer-init-lambda</Users/ranger/cvs.build/kdelibs/scons-local-0.96.91/SCons/Environment.py>", 
line 488:
     None
   File 
"/Users/ranger/cvs.build/kdelibs/scons-local-0.96.91/SCons/Memoize.py", 
line 778:
     apply(actual_init, (self,)+args, kw)
   File 
"/Users/ranger/cvs.build/kdelibs/scons-local-0.96.91/SCons/Environment.py", 
line 533:
     apply_tools(self, tools, toolpath)
   File 
"/Users/ranger/cvs.build/kdelibs/scons-local-0.96.91/SCons/Environment.py", 
line 134:
     env.Tool(tool)
   File 
"/Users/ranger/cvs.build/kdelibs/scons-local-0.96.91/SCons/Environment.py", 
line 1104:
     tool(self)
   File 
"/Users/ranger/cvs.build/kdelibs/scons-local-0.96.91/SCons/Tool/__init__.py", 
line 128:
     apply(self.generate, ( env, ) + args, kw)
   File "bksys/kde4.py", line 10:
     Tool('qt4', ['./bksys']).generate(env)
   File "./bksys/qt4.py", line 131:
     detect(env)
   File "bksys/osx/detect_qt4.py", line 17:
     if qtdir and env.find_file('lib/libqt-mt' + libsuffix, [qtdir]): 
qtdir=None # qtdir for qt3, not qt4
---(snip!)---



More information about the Kde-buildsystem mailing list