QML Menu and EGLFS causes SIGABRT error



  • 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...


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.