Jump to content

PyQt for houdini


takeshin

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...