integrating-qq2-with-opengl
integrating-qq2-with-opengl copied to clipboard
QOpenGLBuffer not found
Hello there, I cloned this project into my PC, i opened this project with Qt creator 8.0.2 but I meet the issue as image below Could you help me to resolve the project: https://www.dropbox.com/s/n96oyi5qlfuz5lq/Untitled.png?dl=0
I think because this example was written using Qt5. Qt6 has moved OpenGL stuff into a separate module called opengl
. Add it to the .pro file: QT += opengl
and add lib: win32: LIBS += -lopengl32
Hello, tried 2 solutions:
- i added QT += opengl into underlay.pro, win32: LIBS += -lopengl32 into lib.pri 2.I added QT += quick opengl LIBS += -lopengl32 into underlay.pro But the problem has still occurred
Maybe this example in Qt6 + QML will help you: https://doc.qt.io/qt-6/qtquick-scenegraph-openglunderqml-example.html Scroll to the very bottom of the page to download it.