[PyKDE] Problems building QtAssistant

Phil Thompson phil at riverbankcomputing.co.uk
Sun Oct 22 11:57:18 BST 2006


On Sunday 22 October 2006 11:17 am, Lawrence Oluyede wrote:
> I noticed the QtAssistant module has not been built with the latest
> snapshot of sip and PyQt. I re-ran the configuration step with "-w"
> and this is what I get:
>
> Checking to see if the QtAssistant module should be built...
> c++ -DQT_NO_DEBUG -I. -I/usr/local/Trolltech/Qt-4.2.1/mkspecs/default
> -I/usr/local/Trolltech/Qt-4.2.1/include/QtAssistant
> -I/usr/local/Trolltech/Qt-4.2.1/lib/QtGui.framework/Headers
> -I/usr/local/Trolltech/Qt-4.2.1/lib/QtNetwork.framework/Headers
> -I/usr/local/Trolltech/Qt-4.2.1/include -pipe -Os -w
> cfgtest_QtAssistant.cpp -o cfgtest_QtAssistant
> -F/usr/local/Trolltech/Qt-4.2.1/lib
> -L/usr/local/Trolltech/Qt-4.2.1/lib -headerpad_max_install_names
> -lQtAssistantClient -framework QtGui -framework QtNetwork
> /usr/bin/ld: can't locate file for: -lQtAssistantClient
> collect2: ld returned 1 exit status
>
> I checked configure.py and confirmed qtassistantclient.h is there in
> the right path.
>
> I'm using Qt 4.2.1, sip and PyQt4 snapshot of 21 oct.
>
> Any hints?

Find the _is_framework() method in siputils.py (or the installed sipconfig.py) 
and remove the QtAssistant part of the test.

Phil




More information about the PyQt mailing list