Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Qt3d Sample "basicshapes-cpp" run with -platform eglfs
Forum Updated to NodeBB v4.3 + New Features

Qt3d Sample "basicshapes-cpp" run with -platform eglfs

Scheduled Pinned Locked Moved Unsolved Game Development
1 Posts 1 Posters 359 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jackun
    wrote on last edited by
    #1

    Qt3d Sample "basicshapes-cpp", start with parameters -platform eglfst.
    The program endups with :
    EGLFS: OpenGL windows cannot be mixed with others.

    what i do :

    1. 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.
    2. 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.
    3. 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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved