[PyQt] [PATCH PyQt4] configure-ng.py: Use CONFIG instead of LIBS for QtAssistant

Raphael Kubo da Costa rakuco at FreeBSD.org
Sun Jun 15 18:35:36 BST 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure-ng-assistant-CONFIG.patch
Type: text/x-patch
Size: 660 bytes
Desc: Proposed patch
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140615/5cb09b1d/attachment.bin>


More information about the PyQt mailing list