QML Menu and EGLFS causes SIGABRT error
-
wrote on 5 May 2015, 13:49 last edited by PhTe 5 May 2015, 13:49
I'm working on an ARM device running QT 5.4.1 with EGLFS (without x-server).
I have created a simple fullscreen application with QML and want to show a popup context menu if the user clicks on the screen.So i created a Menu, ...
Menu { id: popupMenu MenuItem { text: qsTr("Change") shortcut: "Ctrl+C" onTriggered: { console.log("Change") } } MenuItem { text: qsTr("Default") shortcut: "Ctrl+D" onTriggered: { console.log("Default") } } }
...and a MouseArea with an onClicked handler
onClicked: { console.log("clicked"); popupMenu.popup(); }
If i now click with the mouse, the "clicked" text is printed to the console and then my application stops with an SIGABRT error and the message "EGLFS: OpenGL windows cannot be mixed with others."
Why? How can i fix this? I mean it's just a simple stupid popup...
1/1