Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.6.3
-
None
-
Windows 10, Visual Studio 2015, NVidia 1080 GTX, latest WHQL drivers (388.13)
Description
- Start with padnavigator example
- Add this code in main.cpp before QApplication inited
QSurfaceFormat fmt;
fmt.setProfile(QSurfaceFormat::CoreProfile);
fmt.setVersion(3, 3);
QSurfaceFormat::setDefaultFormat(fmt);
(this is the recommended way, got from Qt blog GL ES3 post, but simplified because desktop OpenGL is used)
Padnavigator window becomes blank and black, no items drawed.
Is there any other way to use QGraphicsView + OpenGL core profile? Unfortunately, on OS X highest compatibility profile version is 2.1 while we need 3+ in our app (multiplatform Windows/OS X)