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

List:       pykde
Subject:    [PyKDE] SIP with debug Qt
From:       James Emerton <james () emdata ! net>
Date:       2005-04-01 22:49:21
Message-ID: 4b8375c909a65cb4f0e377a8cc8e57b4 () emdata ! net
[Download RAW message or body]

In the interest of not having two different Qt source trees, I 
perpetrate small hack that creates qt-mtNNNd.dll as the debug version.  
(I do this by building normally to get a release build, then rerunning 
configure with -debug -lean -no-qmake and manually tweaking TARGET in 
the generated Makefile.)  This approach has worked wonderfully for me.

Problem is, sipconfig is not aware of my creative renaming.  All my 
generated wrappers were linking to the non-debug qt.  (This causes an 
app compiled with -MDd to have a different heap, and bad things 
happen!)

So I've hacked sipconfig to link to the correct library, but I can't 
really share this because currently it would break anywhere someone 
hasn't built Qt this way.  The strange thing is, I didn't have to do 
this to PyQt itself.  qt_d.pyd correctly links to qt-mt334d.dll!  I 
couldn't find this magic in the PyQt sources -- but I don't know where 
to look and I haven't been able to spend a lot of time on it yet.

Is it possible to add this capability to sipconfig?

James

--
This is not my home; the cats just let me stay here.

_______________________________________________
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