Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Using setUnifiedTitleAndToolBarOnMac in a QMainWindow (Qt 4.8.4) with a QToolBar makes the application unusable
dasloop last edited by
While migrating our app from 4.7 to 4.8 we have found an error (reported here: https://bugreports.qt-project.org/browse/QTBUG-30502 ). It seems quite critical but I have not found any other reporting it so, maybe, is not related to Qt (although we have tested it in two different computers, both running Mac OS X 10.8).
The error happens when creating a simple Mac app with a QMainWindow that sets setUnifiedTitleAndToolBarOnMac to true and adds a QToolBar. It makes the QMainWindow widgets (except the top tool bar) insensitive. Undocking the toolbar solves the problem.
Can someone with access to Qt 4.8.4 (I use the version compiled from qt-projects) try to reproduce it? The bug includes both a pro and a very small cpp file.