QOpenGLShaderProgram: could not create shader program
-
Hi,
If you are still on the same machine the message from Chris:
@Chris-Kawa said:
According to Intel documentation the Q35 Express chipset only supports OpenGL 1.3. That's waaay to low for Qt.
You can run the ANGLE (or dynamic) version of Qt (OpenGL layer on top of DirectX). It's the package without "OpenGL" in the name mentioned by @Wieland. This still won't let you run some of the OpenGL examples. It's high time for an upgrade ;)
Is still valid
-
In fact I changed my machine. Graphic card is now Intel(R) Graphic Media Accelerator 3150. Result for Qt 5.4.1 mingw32 is the same.
I forgot to mention, that with msvs2013 andQt 5.5 .0 the error is little bit different:
Starting C:\Users\Vladimir\Documents\build-untitled11-Desktop_Qt_5_5_0_MSVC2013_32bit-Debug\debug\untitled11.exe...
QML debugging is enabled. Only use this in a safe environment.
class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(class QFlags<enum QWindowsOpenGLTester::Renderer>): Could not initialize EGL display: error 0x3001class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(class QFlags<enum QWindowsOpenGLTester::Renderer>): When using ANGLE, check if d3dcompiler_4x.dll is available
C:\Users\Vladimir\Documents\build-untitled11-Desktop_Qt_5_5_0_MSVC2013_32bit-Debug\debug\untitled11.exe exited with code 0At the end project is launched.
-
GMA 3150 only supports OpenGL 1.4. That's still waaaaay in the woods. You're still gonna need to use ANGLE.
Did you try what the message says? "When using ANGLE, check if d3dcompiler_4x.dll is available"
This dll should be placed next to your executable. -