<div dir="ltr"><div>Ah, good to know a fix is in the pipeline and that this isn't caused by something I am doing wrong...  Starting with perhaps 5.3.1, I also have been manually editting makefiles to add QtPrintSupport to the header search paths in order to build PyQt5.<br><br></div>-Erik<br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 3, 2014 at 9:38 AM, Phil Thompson <span dir="ltr"><<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 03/10/2014 3:25 pm, lloyd konneker wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Building PyQt-gpl-5.3.2 on Ubuntu 14.04 against Qt 5.3.2  I get an error:<br>
<br>
g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC<br>
-DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN<br>
-DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB<br>
-DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB<br>
-I../../../Qt/5.3/gcc/mkspecs/<u></u>linux-g++ -I. -I.<br>
-I/usr/include/python3.4m -I../../../Qt/5.3/gcc/include<br>
-I../../../Qt/5.3/gcc/include/<u></u>QtWebKitWidgets<br>
-I../../../Qt/5.3/gcc/include/<u></u>QtWebKit<br>
-I../../../Qt/5.3/gcc/include/<u></u>QtWidgets<br>
-I../../../Qt/5.3/gcc/include/<u></u>QtNetwork<br>
-I../../../Qt/5.3/gcc/include/<u></u>QtGui<br>
-I../../../Qt/5.3/gcc/include/<u></u>QtCore -I. -o<br>
sipQtWebKitWidgetsQWebPageView<u></u>portAttributes.o<br>
sipQtWebKitWidgetsQWebPageView<u></u>portAttributes.cpp<br>
sip/QtPrintSupport/qprinter.<u></u>sip:28:22: fatal error: qprinter.h: No<br>
such file or directory<br>
compilation terminated.<br>
<br>
This was discussed in this prior post on this list<br>
<a href="http://www.riverbankcomputing.com/pipermail/pyqt/2014-March/033977.html" target="_blank">http://www.riverbankcomputing.<u></u>com/pipermail/pyqt/2014-March/<u></u>033977.html</a><br>
Summarizing, qprinter.h is in the QtPrintSupport module in Qt 5.3 but<br>
that include directory is not in the compiler command.<br>
That post gives a patch to the Makefile.<br>
<br>
Did that fall through the cracks? or maybe its my bad installation and<br>
configuration of multiple versions of Qt.<br>
 >python3 configure.py --qmake ~/Qt/5.3/gcc/bin/qmake<br>
but maybe I should configure using qtchooser?<br>
</blockquote>
<br></div></div>
The patch has been applied but there hasn't been a release since then.<span class="HOEnZb"><font color="#888888"><br>
<br>
Phil</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.<u></u>com/mailman/listinfo/pyqt</a></div></div></blockquote></div><br></div></div></div></div>