Qt5.12.9: Example:OpenGL/Cube doesnt work
-
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 -
There are more than just the header and code files for that project. Did you take the shaders and images into account ?
-
@DaJose said in Qt5.12.9: Example:OpenGL/Cube doesnt work:
Okay, all fine. I made it work with VC2017 with Qt 5.14.2.
I am happy now :)
That was not your original message. You wrote that it was working with Qt Creator but not VS2017, hence my question about the other files of the project.
Anyway, glad you got it working.
-
@DaJose said in Qt5.12.9: Example:OpenGL/Cube doesnt work:
Okay, all fine. I made it work with VC2017 with Qt 5.14.2.
I am happy now :)
That was not your original message. You wrote that it was working with Qt Creator but not VS2017, hence my question about the other files of the project.
Anyway, glad you got it working.