Linking error in Qt5.7 with Opengl on windows
I use msvc compiler (vs 2015) and I'm not abloe to get rid off this type of linking error:
LNK2001: unresolved external symbol __imp__glClear@4
I add LIBS =+opengl32.lib and I add also the dir but nothing changed.
If I checked the symbols inside the lib, there is prefix imp that change everything, since it is expected to load from a dll I think. So...I need to pass to the linker a .lib with the defs of the dll.
I try to create one of this files through dumpbin export, but it's not able to export correctly the simbols.
How can I do?