laumaya / GLC_lib

GLC_lib is a C++ library for high performance 3D application based on OpenGL and Qt4 GUI
http://www.glc-lib.net
Other
61 stars 31 forks source link

Build failure with Qt 4: fatal error: 'QOpenGLTexture' file not found #29

Open ryandesign opened 6 years ago

ryandesign commented 6 years ago

The system requirements of GLC_lib are listed as "Qt4.8 or Qt5.0" but building GLC_lib 3.0.1 fails with Qt 4.8.7:

fatal error: 'QOpenGLTexture' file not found

According to the Qt documentation, QOpenGLTexture was added in Qt 5.2. So you should either increase the minimum Qt version shown in the requirements, or adjust the code to be compatible with older Qt.

yanzixiang commented 2 years ago

@ryandesign same here, have you solve the problem ?