[PyQt] RE: problem building PyQt 4.4.4 on OS-X

Simon Knowles simon at IceraSemi.com
Fri Nov 14 00:07:56 GMT 2008


Phil,
Abridged log from configure.py --verbose below -- eg. is cfgtest_QtGui.cpp expecting to find qwidget.h locally?  The unpacked tar doesn't have any .h's at the level of cfgtest_QtGui.cpp.  There is a qwidget.h in /usr/local/Trolltech/Qt-4.4.3/include, mentioned later in the log.

S.

--

unknown-00-23-6c-82-52-d7:PyQt-mac-gpl-4.4.4 simon$ python configure.py --verbose
Determining the layout of your Qt installation...
/usr/local/Trolltech/Qt-4.4.3/bin/qmake -spec macx-g++ -o qtdirs.mk qtdirs.pro
make -f qtdirs.mk
g++ -c -pipe -g -Wall -W -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.4.3/mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include -I.moc/debug-shared -I.uic/debug-shared -F/Users/simon/lib -o .obj/debug-shared/qtdirs.o qtdirs.cpp
g++ -headerpad_max_install_names -o qtdirs.app/Contents/MacOS/qtdirs .obj/debug-shared/qtdirs.o   -F/Users/simon/lib -L/Users/simon/lib -framework QtCore -L/Users/simon/lib -lz -lm -framework ApplicationServices
qtdirs.app/Contents/MacOS/qtdirs
This is the GPL version of PyQt 4.4.4 (licensed under the GNU General Public
License) for Python 2.5.1 on darwin.

Type '2' to view the GPL v2 license.
Type '3' to view the GPL v3 license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.

Do you accept the terms of the license? yes
Checking to see if the QtGui module should be built...
g++ -DQT_NO_DEBUG -DQT_GUI_LIB -I. -I/usr/local/Trolltech/Qt-4.4.3/mkspecs/default -I/usr/local/Trolltech/Qt-4.4.3/lib/QtGui.framework/Headers -I/usr/local/Trolltech/Qt-4.4.3/include -pipe -Os -w cfgtest_QtGui.cpp -o cfgtest_QtGui -F/usr/local/Trolltech/Qt-4.4.3/lib -L/usr/local/Trolltech/Qt-4.4.3/lib -headerpad_max_install_names -framework QtGui -L/usr/local/Trolltech/Qt-4.4.3/lib -F/usr/local/Trolltech/Qt-4.4.3/lib -framework Carbon -framework AppKit -framework QtCore -L/usr/local/Trolltech/Qt-4.4.3/lib -lz -lm -framework ApplicationServices
cfgtest_QtGui.cpp:1:21: error: qwidget.h: No such file or directory
cfgtest_QtGui.cpp: In function ‘int main(int, char**)’:
cfgtest_QtGui.cpp:5: error: expected type-specifier before ‘QWidget’
cfgtest_QtGui.cpp:5: error: expected `;' before ‘QWidget’

<<< ...and similar for QtHelp, QtNetwork, QtOpenGL, QtScript, QtSql, QtSvg, QtTest, QtWebKit, QtXml, QtXmlPatterns, phonon, QtAssistant, QtDesigner, then... >>>

Qt v4.4.3 free edition is being used.
Qt is built as a framework.
SIP 4.7.8 is being used.
The Qt header files are in /usr/local/Trolltech/Qt-4.4.3/include.
The shared Qt libraries are in /usr/local/Trolltech/Qt-4.4.3/lib.
The Qt binaries are in /usr/local/Trolltech/Qt-4.4.3/bin.
The Qt mkspecs directory is in /usr/local/Trolltech/Qt-4.4.3.
These PyQt modules will be built: QtCore.
The PyQt Python package will be installed in /Library/Python/2.5/site-packages.
The Designer plugin will be installed in
/usr/local/Trolltech/Qt-4.4.3/plugins/designer.
The PyQt .sip files will be installed in
/System/Library/Frameworks/Python.framework/Versions/2.5/share/sip/PyQt4.
pyuic4, pyrcc4 and pylupdate4 will be installed in
/System/Library/Frameworks/Python.framework/Versions/2.5/bin.
Generating the C++ source for the QtCore module...
"/System/Library/Frameworks/Python.framework/Versions/2.5/bin/sip" -x VendorID -t WS_MACX -x PyQt_NoPrintRangeBug -t Qt_4_4_1 -g -a QtCore.api -c QtCore -b QtCore/QtCore.sbf -I sip sip/QtCore/QtCoremod.sip
Creating the Makefile for the QtCore module...
Generating the C++ source for the Qt module...
"/System/Library/Frameworks/Python.framework/Versions/2.5/bin/sip" -x VendorID -t WS_MACX -x PyQt_NoPrintRangeBug -t Qt_4_4_1 -g -c Qt -b Qt/Qt.sbf -I sip sip/Qt/Qtmod.sip
Creating the Makefile for the Qt module...
Creating QScintilla API file...
Creating top level Makefile...
Creating QPy libraries Makefile...
Creating pyuic4 wrapper...
Creating pyuic4 Makefile...
pylupdate4 and pyrcc4 will not be built because the Qt XML module is missing.
Creating pyqtconfig.py...

<<< end >>>

-- 
******************************************************************************************
This e-mail (including any attachments) is intended only for the recipient(s)
named above. It may contain confidential or privileged information and should
not be read, copied or otherwise used by any other person. If you are not a
named recipient, please contact the sender by telephone (+44-1454-284800)
and destroy the original message.
Any statement and/or opinion not related to this company's business and
expressed in this message is that of the author and does not necessarily
reflect those of Icera. This company does not take any responsibility
for the views of the author in any matter not related to the
company's objective. 
******************************************************************************************



More information about the PyQt mailing list