Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

(Resolved)Help needed with Android Action bar menu button



  • I want to open up a popup when a action bar button is pressed. I've got a QMainWindow with a QMenuBar and the button with three dots appears in the action bar.

    The idea is that I would press that button and trigger something inside the program itself. I don't want to add options directly to the menu bar, just know that the button was pressed. Is there something I can do to determine when that happens.



  • Found it.
    QtActivity.java
    onPrepareOptionsMenu
    That function runs each time the button is pressed.


Log in to reply