From pykde Sat Apr 02 09:18:03 2005 From: Phil Thompson Date: Sat, 02 Apr 2005 09:18:03 +0000 To: pykde Subject: Re: [PyKDE] SIP with debug Qt Message-Id: <200504021018.03342.phil () riverbankcomputing ! co ! uk> X-MARC-Message: https://marc.info/?l=pykde&m=111243361027240 On Friday 01 April 2005 11:49 pm, James Emerton wrote: > 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? Not for something as non-standard as this. I don't see the problem in having separate Qt (and Python) debug/release source trees. Phil _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde