If I could, I would not popup the QMenu at run-time. The problem is how to close it at run-time. The only working solution, as I know, is deleting the QMenu. But it creates problems with the remaining code.
Another consideration.
The popupped qmenu raises on the windows of the application you are viewing at that time. I don't know how to open it and not prevent it from raising at this way.
Coming soon, "don't popup that QMenu !"
Bookmarks