Pages: [1]   Go Down
Author Topic: macOSX and python + QtOpenGL  (Read 607 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Edison Member
Karma: 11
Posts: 1489
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i need to realize a pyQt application ( that means using python as programming language and QtOpenGL as framework.
My problem is to put all this software on macOSX 10.7, i got a lot of issues about running QtOpenGL.

i am using mac-ports, i have installed a lot of things, OpenGL should be installed by default in MacOSX-10.7.5, but running my i got this

Traceback (most recent call last):
  File "", line 3, in <module>
    from ui_cal import Ui_Cal
  File "", line 483, in <module>
    from pyqtgraph.opengl import GLViewWidget
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyqtgraph/opengl/", line 1, in <module>
    from .GLViewWidget import GLViewWidget
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyqtgraph/opengl/", line 1, in <module>
    from pyqtgraph.Qt import QtCore, QtGui, QtOpenGL
ImportError: cannot import name QtOpenGL

pyQtOpenGL has been installed as python wrapper to QtOpenGL

Anybody toying with this on mac ? On linux it is pretty working but i need to put it on mac.
« Last Edit: November 16, 2012, 03:18:59 am by lock » Logged

Pages: [1]   Go Up
Jump to: