Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Plugin and EGLFS: OpenGL windows cannot be mixed with
Forum Updated to NodeBB v4.3 + New Features

Plugin and EGLFS: OpenGL windows cannot be mixed with

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 2.7k Views 1 Watching
  • 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.
  • T Offline
    T Offline
    th.thielemann
    wrote on last edited by
    #1

    Hello,

    I have a Platforminputcontexts plugin and want to display an On Screen Keyboard using QML. The plugin open it's own QQuickView to display the keys.
    This is Working on my desktop linux but on embedded target it results in "EGLFS: OpenGL windows cannot be mixed with others."

    Is it the right approach to use two plugins:

    • one Qml plugin to display the On Screen Keyboard
    • and another to the catch the input from screen and foreward it to my application?

    Or can I get the QQuickView used by my main application anyhow?

    Regards,
    Thomas

    1 Reply Last reply
    0
    • A Offline
      A Offline
      agocs
      wrote on last edited by
      #2

      The typical approach is to instantiate an element, representing the VKB, in the application's QML code. So instead of opening a second QQuickView, the plugin provides a reusable Quick element that apps can use. The downside is of course that the application has to be aware of this and include the necessary code.

      Alternatively, "smart" solutions that try to figure out the QQuickWindow (e.g. through QGuiApplication::topLevelWindows) and dynamically inject some items may work too but might be much less flexible.

      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