Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT5 Problem with QMenuBar
Qt 6.11 is out! See what's new in the release blog

QT5 Problem with QMenuBar

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 732 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.
  • R Offline
    R Offline
    rklapfer
    wrote on last edited by
    #1

    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!

    Reinhard

    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