Python Forum
Help installing QtOpenGL via pyenv
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help installing QtOpenGL via pyenv
#1
Upon entering the command:
python configure-ng.py

It states that the following modules will be installed:
Output:
These PyQt4 modules will be built: QtCore, QtGui, QtMultimedia, QtNetwork, QtSql, QtSvg, QtTest, QtXml, QtXmlPatterns, QtDBus.
How do I install QtOpenGL using pyenv?
I tried the following command instead:
python configure-ng.py -e QtOpenGL
But it failed during make:
Error:
In file included from /home/jacob3/Desktop/NewStuff/games/j3dview-master/pyqt4/pyqt4/sip/QtOpenGL/qgl.sip:480:0, from sipQtOpenGLQGLFramebufferObjectFormat.cpp:24: ../qpy/QtOpenGL/qpyopengl_api.h:30:17: fatal error: qgl.h: No such file or directory compilation terminated. make[1]: *** [sipQtOpenGLQGLFramebufferObjectFormat.o] Error 1 make[1]: Leaving directory `/home/jacob3/Desktop/NewStuff/games/j3dview-master/pyqt4/pyqt4/QtOpenGL' make: *** [sub-QtOpenGL-make_first-ordered] Error 2
libqt4-dev had been installed using apt-get.
Reply
#2
I don't know if this is the reason why you are having trouble, but important
none the less. From the QtOpenGl web page:
Quote:Warning: This module should not be used anymore for new code. Please use the corresponding OpenGL classes in Qt GUI
Reply
#3
(Aug-16-2017, 02:07 AM)Larz60+ Wrote: I don't know if this is the reason why you are having trouble, but important
none the less. From the QtOpenGl web page:
Quote:Warning: This module should not be used anymore for new code. Please use the corresponding OpenGL classes in Qt GUI

It's not for new code, it's for running existing code someone else made.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020