running on other computers today the Qt program I wrote reported the following error:
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redbuffersize-1, greenbuffersize-1, bluebuffersize-1, depthbuffersize-1 alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1,
).
This is most likely to cause by not having the necessary graphics drivers installed.
Install a driver providing OpenGL 2.0 or higher, or, if This is not possible, Make sure the ANGLE Open GL ES 2.0 emulation software (libEGL. DLL, Libglesv2.dll and d3dcompiler_*. DLL) are available in the application executable’s directory or in a location listed in PATH.
baidu once no result, mostly is what driver problem or Qt reinstall problem
Read More:
- not found libc++.so
- Prompt “The MSI failed” solution when uninstalling VMware
- NVIDIA NVML Driver/library version mismatch
- ioctl,unlocked_ ioctl,compat_ The difference between IOCTL
- Solution to the warning of too low TDR value in new sp
- Vs under the execution of OpenGL program can run successfully, but do not show things
- How to use high version OpenGL under Windows
- How to Fix NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.
- Mayavi fails to get wglchoosepixelformatarb and other error reporting solutions
- Problems in the construction of CUDA environment (GPU parallel programming)
- (transfer) using Wireshark package capture software to prompt the NPF driver isn’t running solution
- Construction of vs2015 OpenGL configuration environment
- Wireless network solution of deepin Linux network card driver (manual) installation
- A series of problems in configuring OpenGL development environment in vs2015
- Get picture captcha with Python + Chrome
- LIBGL error: no matching fbconfigs or visual s found
- Solution of OpenGL initialization failure after upgrading motherboard and CPU
- Nvidia-smi has failed because it could’t communicate with the NVIDIA driver
- [Solved] NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.