[PyQt] building pyqt5.3.2 No such file...qprinter.h which in Qt 5.3 moved from QtGui to QtPrintSupport
Erik Hvatum
ice.rikh at gmail.com
Fri Oct 3 15:51:40 BST 2014
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.
-Erik
On Fri, Oct 3, 2014 at 9:38 AM, Phil Thompson <phil at riverbankcomputing.com>
wrote:
> On 03/10/2014 3:25 pm, lloyd konneker wrote:
>
>> Building PyQt-gpl-5.3.2 on Ubuntu 14.04 against Qt 5.3.2 I get an error:
>>
>> g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC
>> -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN
>> -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB
>> -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB
>> -I../../../Qt/5.3/gcc/mkspecs/linux-g++ -I. -I.
>> -I/usr/include/python3.4m -I../../../Qt/5.3/gcc/include
>> -I../../../Qt/5.3/gcc/include/QtWebKitWidgets
>> -I../../../Qt/5.3/gcc/include/QtWebKit
>> -I../../../Qt/5.3/gcc/include/QtWidgets
>> -I../../../Qt/5.3/gcc/include/QtNetwork
>> -I../../../Qt/5.3/gcc/include/QtGui
>> -I../../../Qt/5.3/gcc/include/QtCore -I. -o
>> sipQtWebKitWidgetsQWebPageViewportAttributes.o
>> sipQtWebKitWidgetsQWebPageViewportAttributes.cpp
>> sip/QtPrintSupport/qprinter.sip:28:22: fatal error: qprinter.h: No
>> such file or directory
>> compilation terminated.
>>
>> This was discussed in this prior post on this list
>> http://www.riverbankcomputing.com/pipermail/pyqt/2014-March/033977.html
>> Summarizing, qprinter.h is in the QtPrintSupport module in Qt 5.3 but
>> that include directory is not in the compiler command.
>> That post gives a patch to the Makefile.
>>
>> Did that fall through the cracks? or maybe its my bad installation and
>> configuration of multiple versions of Qt.
>> >python3 configure.py --qmake ~/Qt/5.3/gcc/bin/qmake
>> but maybe I should configure using qtchooser?
>>
>
> The patch has been applied but there hasn't been a release since then.
>
> Phil
>
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20141003/dbac1ebc/attachment.html>
More information about the PyQt
mailing list