nitroshare / nitroshare-desktop

Network file transfer application for Windows, OS X, & Linux
http://nitroshare.net
MIT License
1.58k stars 224 forks source link

OpenGL requirement #85

Closed techtonik closed 6 years ago

techtonik commented 8 years ago

I just noticed opengl32sw.dll in NitroShare installation dir. Why?

techtonik commented 8 years ago

Also d3dcompiler_47.dll, libEGL.dll and libGLESV2.dll, which points to ANGLE.

nathan-osman commented 8 years ago

Qt uses OpenGL and to simplify implementation on Windows, they use ANGLE to translate the calls to DirectX.

techtonik commented 8 years ago

IIRC Qt uses native graphics API for rendering Windows etc. What API exactly requires ANGLE and where it is used to NitroShare?

nathan-osman commented 8 years ago

I'm not entirely sure where it is used, but OpenGL / ANGLE is automatically deployed by windeployqt, which the CMake scripts use.

techtonik commented 8 years ago

I can't find which Qt calls need ANGLE, but this thread - https://stackoverflow.com/questions/17736229/do-i-have-to-include-all-these-qt-dlls-with-my-application says that it is possible to get rid of extra dependencies with static linking.

nathan-osman commented 8 years ago

Looks like this might be solved with Qt 5.8: http://blog.qt.io/blog/2016/08/18/introducing-the-qt-lite-project-qt-for-any-platform-any-thing-any-size/

nathan-osman commented 6 years ago

I'm closing this since the latest release switched to software rendering and no longer needs the ANGLE / OpenGL runtime on Windows.