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. QML Menu and EGLFS causes SIGABRT error

QML Menu and EGLFS causes SIGABRT error

Scheduled Pinned Locked Moved Mobile and Embedded
qmlqt5eglfsmenu
1 Posts 1 Posters 811 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.
  • P Offline
    P Offline
    PhTe
    wrote on last edited by PhTe
    #1

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