[PyQt] [PATCH PyQt4] configure-ng.py: Use CONFIG instead of LIBS for QtAssistant
Raphael Kubo da Costa
rakuco at freebsd.org
Sun Jun 15 23:58:11 BST 2014
+list
Phil Thompson <phil at riverbankcomputing.com> writes:
> On 15/06/2014 6:35 pm, Raphael Kubo da Costa wrote:
>> Hi,
>>
>> The attached patch against PyQt-x11-gpl-4.11.1-snapshot-123dfb701c3e's
>> configure-ng.py makes the .pro file generated for QtAssistant depend on
>> QtAssistantClient's assistant.prf by using CONFIG+=assistant instead of
>> hardcoding -lassistantclient in the .pro file: the latter does not add
>> the necessary include paths for qassistantclient.h, causing errors such
>> as:
>>
>> clang++ -c -pipe -O2 -Wall -W -pthread -D_THREAD_SAFE -fPIC
>> -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
>> -I/usr/local/share/qt4/mkspecs/freebsd-clang -I.
>> -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui
>> -I/usr/local/include/qt4 -I. -I/usr/local/include/python2.7 -I.
>> -I/usr/local/include/qt4 -I/usr/local/include -o
>> sipQtAssistantQAssistantClient.o sipQtAssistantQAssistantClient.cpp
>> /wrkdirs/usr/ports/devel/py-qt4-assistant/work/PyQt-x11-gpl-4.11/sip/QtAssistant/qassistantclient.sip:31:10:
>> fatal error: 'qassistantclient.h' file not found
>
> What version of Qt?
Qt 4.8.6, qtassistantclient 4.6.3.
More information about the PyQt
mailing list