QtOpenGL deployment
-
Hello everybody!
I played a little bit with Qt and OpenGL using QtOpenGL. When deploying the application and starting it somewhere else it fails with the error The program can't start because QtOpenGL.dll is missing from your computer. Try reinstalling the program to fix this problem.
Apparently QtOpenGL libraries are linked dynamically by default. Is there a way to change it to static linkage?Thanks in advance.
-
You would need to compile your own static build of the libraries. There is an "example in the wiki":https://qt-project.org/wiki/How_to_build_a_static_Qt_version_for_Windows_with_gcc
However, when you like to distribute, you certainly should check also the "licensing":http://qt.nokia.com/products/licensing implications