takeshin Posted April 5, 2009 Share Posted April 5, 2009 hi, I'm newbe. Does anyone know how to compile PyQt4.5 or PyQt4.4.4 for Houdini OSX version? I tried a compile Qt4.5,PyQt4.4.4 and sip4.7.9 used next compile options. Qt4.5 ./configure -optimized-qmake -shared -debug-and-release -largefile -silent -cocoa -framework -arch "x86 x86_64" sip4.7.9 python ./configure.py -n -p macx-g++ --sdk=MacOSX10.5.sdk CFLAGS+=-arch" x86_64" CXXFLAGS+=-arch" x86_64" LFLAGS+=-arch" x86_64" PyQt4.4.4 python ./configure.py --qmake /usr/local/Trolltech/Qt-4.5.0/bin/qmake CFLAGS+=-arch" x86_64" CXXFLAGS+=-arch" x86_64" LFLAGS+=-arch" x86_64" but i got some error like this. $ hython >>from PyQt4 import QtCore <-It was no problem. >>from PyQt4 import QtGui Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dlopen(/Library/Python/2.5/site-packages/PyQt4/QtGui.so, 2): Library not loaded: /usr/local/Trolltech/Qt-4.5.0/lib/QtGui.framework/Versions/4/QtGui Referenced from: /Library/Python/2.5/site-packages/PyQt4/QtGui.so Reason: no suitable image found. Did find: /usr/local/Trolltech/Qt-4.5.0/lib/QtGui.framework/Versions/4/QtGui: GC capability mismatch Does anyone know good solution for use PyQt from Hython for Mac OSX? Quote Link to comment Share on other sites More sharing options...
Jason Posted April 5, 2009 Share Posted April 5, 2009 I have no idea, but I've seen many reports of people accidentally trying to build 32-bit versions of stuff when the Houdini OSX version is all 64-bit. Perhaps you're running into that? Quote Link to comment Share on other sites More sharing options...
edward Posted April 7, 2009 Share Posted April 7, 2009 takeshin, you'll probably have better luck asking on the pyqt mailing lists since this is not a houdini-specific problem per se. What you want is a way to compile 64-bit PyQT on OSX, right? Make sure that you can run your PyQT with the 64-bit version of Python on OSX first. Quote Link to comment Share on other sites More sharing options...
takeshin Posted April 7, 2009 Author Share Posted April 7, 2009 takeshin, you'll probably have better luck asking on the pyqt mailing lists since this is not a houdini-specific problem per se. What you want is a way to compile 64-bit PyQT on OSX, right? Make sure that you can run your PyQT with the 64-bit version of Python on OSX first. Thank you Jason and edward I'll ask on pyQt mailing list. Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.