[PyQt] Qt 4.8 beta, OSX Lion

Randy Heiland heiland at indiana.edu
Thu Jul 28 14:14:17 BST 2011


Has anyone built using the Qt 4.8 beta release on OSX Lion yet?  Here's what I get:

~/dev/PyQt-mac-gpl-4.8.4$ make
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fPIC -Wall -W -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.0/mkspecs/macx-g++ -I. -I/usr/local/Trolltech/Qt-4.8.0/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.8.0/include/QtCore -I/usr/local/Trolltech/Qt-4.8.0/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.8.0/include/QtGui -I/usr/local/Trolltech/Qt-4.8.0/lib/QtOpenGL.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.8.0/include/QtOpenGL -I/usr/local/Trolltech/Qt-4.8.0/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I../../QtOpenGL -I. -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/usr/local/Trolltech/Qt-4.8.0/lib -o qpyopengl_attribute_array.o qpyopengl_attribute_array.cpp
In file included from /usr/include/c++/4.2.1/ios:47,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /usr/include/c++/4.2.1/iterator:70,
                 from /usr/local/Trolltech/Qt-4.8.0/include/QtCore/qlist.h:50,
                 from /usr/local/Trolltech/Qt-4.8.0/include/QtCore/qobject.h:50,
                 from /usr/local/Trolltech/Qt-4.8.0/include/QtGui/qwidget.h:46,
                 from /usr/local/Trolltech/Qt-4.8.0/lib/QtOpenGL.framework/Versions/4/Headers/qgl.h:45,
                 from qpyopengl_attribute_array.cpp:38:
/usr/include/c++/4.2.1/bits/localefwd.h:58:34: error: macro "isspace" passed 2 arguments, but takes just 1
/usr/include/c++/4.2.1/bits/localefwd.h:70:34: error: macro "isupper" passed 2 arguments, but takes just 1
/usr/include/c++/4.2.1/bits/localefwd.h:74:34: error: macro "islower" passed 2 arguments, but takes just 1
/usr/include/c++/4.2.1/bits/localefwd.h:78:34: error: macro "isalpha" passed 2 arguments, but takes just 1
...

thanks, Randy


More information about the PyQt mailing list