Qt5.12.9: Example:OpenGL/Cube doesnt work
-
Hi,
Which OS ?
Which driver ?
Which graphics card ?
Do other OpenGL examples run properly ? -
Hi,
thanks for your response.
OS: Windows 10
Which driver: what you mean?
Which Graphic card: AMD Radeon RX 5600 XT
Do other OpenGL examples run: I can draw a Quad by using simply vertices. But it comes together with an IndexBuffer it doesn't work. So I tried to run the cube example what comes with IndexBuffer => only black screen
So its my goal to render a simple quad by using IndexBuffer -
@DaJose said in Qt5.12.9: Example:OpenGL/Cube doesnt work:
Which driver: what you mean?
The version of the driver of your card. If too old, it might break, sometimes, too new will as well.
-
Okay, I try to look for the newest. But I think I've got the latest driver.
So, I've installed the new driver but nothing changed. I only get a black screen
I' am using Visual Studio (c++) 2017
btw:
I only can answer after 10minutes :(No Error messages...
-
Any error message ?
-
Do the QWindow related examples work ?
-
Yes, this works:
You mean the QOpenglwindow example from the OpenGL examples? -
One thing that is missing from the example is printing errors in case something goes wrong in the initShaders method. I would add some debugging information there.
-
Maybe you got a simple VC 20017 project rendering something using IndexBuffer?
Maybe something is wrong with the settings...Or I send you my project?
I have made a release and try to run it on another PC with the same result: just a blank black screen...
-
Then test a more recent version to see if it's working better.
-
Do you mean latest version of the offline installer ? IIRC, it should rather be 5.14.
-
Can you give me the link?
I only found this: https://www.qt.io/offline-installers