Menu bar not show
-
Is it shown for the first time ? In ubuntu it is not shown along with MainWindow. It will be at the top of your screen. Just try selecting your MainWindow using the Mouse and see if menu bar appears in the top of your screen. If not just try calling this->menuBar().setVisible(true)
-
Is it shown for the first time ? In ubuntu it is not shown along with MainWindow. It will be at the top of your screen. Just try selecting your MainWindow using the Mouse and see if menu bar appears in the top of your screen. If not just try calling this->menuBar().setVisible(true)
@dheerendra yes shown in first time
i test :
this->menuBar().setVisible(true)
menuBar()->show();
but don't work -
Can you paste your sample code here ? We can check about this.
-
@dheerendra yes shown in first time
i test :
this->menuBar().setVisible(true)
menuBar()->show();
but don't work -
@ARASHz4 Isn't it the standard behaviour on Ubuntu? Did you try to move the mouse to the top of the screen while your app is in foreground?
to add to @jsulm
Try disable that feature by setting it back to normal
http://askubuntu.com/questions/10481/how-do-i-enable-or-disable-the-global-application-menu

-
@ARASHz4 Isn't it the standard behaviour on Ubuntu? Did you try to move the mouse to the top of the screen while your app is in foreground?
-
@ARASHz4 Could be a bug, you should check https://bugreports.qt.io/secure/Dashboard.jspa