Qt3d Sample "basicshapes-cpp" run with -platform eglfs
Unsolved
Game Development
-
Qt3d Sample "basicshapes-cpp", start with parameters -platform eglfst.
The program endups with :
EGLFS: OpenGL windows cannot be mixed with others.what i do :
- the project is in the qtcreator examples. build with DesktopKit Qt.5.12.8
the program endup with:
Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
EGLFS: OpenGL windows cannot be mixed with others. - add QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true); before QApplication
the program end with:
Warning: Setting a new default format with a different version or profile after the global shared context is created may cause issues with context sharing.
EGLFS: OpenGL windows cannot be mixed with others. - use qt3dwindow.h/cpp from https://codereview.qt-project.org/gitweb?p=qt/qt3d.git;a=commit;h=refs/changes/84/201784/3.
the program end with:
EGLFS: OpenGL windows cannot be mixed with others.
Does anyone have any advices?
Thank you - the project is in the qtcreator examples. build with DesktopKit Qt.5.12.8