Problem linking OpenGL functions when upgrading to Qt5.5 from 5.2
It fails on linking almost every GL function, being GPUTexture a class I did myself the linker outputs lots of errors like these ones:
GPUtexture.obj:-1: error: LNK2001: unresolved external symbol __imp_glBindTexture
GPUtexture.obj:-1: error: LNK2001: unresolved external symbol __imp_glDeleteTextures
GPUtexture.obj:-1: error: LNK2001: unresolved external symbol __imp_glGenTextures
Of course I've added to my .pro file
QT += core gui opengl websockets
And as I said in 5.2 it was working without any problem, any tip on this?
jsulm Lifetime Qt Champion last edited by
Is Qt 5.5 built with OpenGL support?
JKSH Moderators last edited by
How does GPUtexture call OpenGL?
Thank you to everyone finally I've decided to migrate (it was about time!) from the old QtOpenGl support to the newer methods ie QGLFramebufferObject -> QOpenGLFramebufferObject it takes a lot to refactoring but I think it will save time for the future.