Important: Please read the Qt Code of Conduct -

QT5 Problem with QMenuBar

  • Hello forum,

    I am facing a weird problem that came when porting our application from qt4.8 to qt5.2. I am developing on Mac OsX.

    • We are opening a QMainWindow from another dialog, with a menu bar in the main window
    • Before, we set the main window to be modal, which worked fine
    • Since Qt5: The menu bar is disabled for modal windows
    • The child (=QMainWindow) created inside a dialog is always inactive and can only be accessed when closing the parent. Settin it to enabled has no effect.

    Any help is appreciated.

    Thank you!


Log in to reply