Deploying Qt5 on Windows without Hardware Acceleration

后端 未结 3 1419
余生分开走
余生分开走 2021-01-30 22:58

Qt5 can use the OpenGL driver or the DirectX Driver by using ANGLE. As we cannot depend on an installed OpenGL driver, we need to use the ANGLE backend. Unfortunately, this does

3条回答
  •  我在风中等你
    2021-01-30 23:26

    Under Windows, opengl32.dll is the default OpenGL driver. It implements OpenGL 1.1 (really old version). ANGLE has a baseline of OpenGL ES 2.0 and needs DirectX 9/11 installed to map the calls into.

    So if you got a video card that doesn't have an OpenGL driver installed, an OpenGL driver less than 2.0, and/or DirectX 9/11 not installed, your app is not going to work.

    In regards to virtualization and 3D acceleration, these maybe worth a read:

    • Why does Qt Creator 3.0.0 Welcome Mode not work in VM?
    • https://bugreports.qt.io/browse/QTBUG-34964

    Also, if you run a multi monitor Windows environment under VirtualBox, 3d acceleration will be disabled.

提交回复
热议问题