[PyQt] Problem in installing PyQt on Mac OS X 10.6.2
Jebagnana Das
jebagnanadas at gmail.com
Mon Apr 5 16:09:55 BST 2010
Hi all,
I found an archived discussion regarding the same problem. Click here
to see the discussion<http://old.nabble.com/PyQt4%2C-Qt-on-osx-SnowLeopard-td26394590.html#a26394590>.
But the solution proposed here is bit confusing. I hope this issue must have
been fixed by now(It was posted on Nov 2009). Anybody have the new solution
of installing pyqt 0n mac os x 10.6.2??
Regards,
Jeba.
On Thu, Apr 1, 2010 at 3:50 PM, Phil Thompson
<phil at riverbankcomputing.com>wrote:
> On Thu, 1 Apr 2010 15:46:16 +0530, Jebagnana Das <jebagnanadas at gmail.com>
> wrote:
> > Thanks phil for your reply. Here's the output of $python3 configure.py
> > --verbose (Though it's pretty long)
> >
> > Determining the layout of your Qt installation...
> > /usr/bin/qmake -spec macx-g++ -o qtdirs.mk qtdirs.pro
> > make -f qtdirs.mk
> > b'g++ -c -pipe -g -gdwarf-2 -arch i386 -Wall -W -DQT_CORE_LIB -DQT_SHARED
> > -I/usr/local/Qt4.6/mkspecs/macx-g++ -I.
> > -I/Library/Frameworks/QtCore.framework/Versions/4/Headers
> > -I/usr/include/QtCore -I/usr/include -I. -F/Library/Frameworks -o
> qtdirs.o
> > qtdirs.cpp\n'b'g++ -headerpad_max_install_names -arch i386 -o
> > qtdirs.app/Contents/MacOS/qtdirs qtdirs.o -F/Library/Frameworks
> > -L/Library/Frameworks -framework QtCore
> \n'qtdirs.app/Contents/MacOS/qtdirs
> > This is the GPL version of PyQt 4.7 (licensed under the GNU General
> Public
> > License) for Python 3.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/mkspecs/macx-g++
> > -I/Library/Frameworks/QtGui.framework/Headers -I/usr/include -pipe -O2 -w
> > cfgtest_QtGui.cpp -o cfgtest_QtGui -F/Library/Frameworks
> > -L/Library/Frameworks -headerpad_max_install_names -framework QtGui
> > -framework QtCore
> > b'In file included from
> > /Library/Frameworks/QtCore.framework/Headers/qnamespace.h:45,\n'b'
> > from
> > /Library/Frameworks/QtCore.framework/Headers/qobjectdefs.h:45,\n'b'
> > from
> > /Library/Frameworks/QtGui.framework/Headers/qwindowdefs.h:45,\n'b'
> > from
> > /Library/Frameworks/QtGui.framework/Headers/qwidget.h:45,\n'b'
> > from
> >
>
> cfgtest_QtGui.cpp:1:\n'b'/Library/Frameworks/QtCore.framework/Headers/qglobal.h:288:2:
> > error: #error "You are building a 64-bit application, but using a 32-bit
> > version of Qt. Check your build configuration."
>
> That would appear to be the problem. --Phil
>Thanks phil for stating my problem clearly.. But i can't find a separate qt
> package for 64 bit application in mac (It's available for windows and linux
> only).. Do i have to build it from the source?? Is there any other way of
> doing this??
>
> >Regards,
> >Jeba
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100405/ccb74711/attachment.html>
More information about the PyQt
mailing list