-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.5.1, 5.7.0
-
None
-
OS X 10.11.6
With the following code, the toolbar and the tab widget (in document mode) are displayed with a black background. It seems to only happen if the the main windows has the setUnifiedTitleAndToolBarOnMac set to true.
#include <QApplication> #include <QMainWindow> #include <QTabWidget> #include <QToolBar> #include <QQuickWidget> int main( int argc, char** argv ) { QApplication app(argc, argv); QMainWindow win; win.setUnifiedTitleAndToolBarOnMac(true); QToolBar tb; tb.addAction("bla"); win.addToolBar(&tb); QTabWidget mw; mw.setDocumentMode(true); win.setCentralWidget(&mw); QQuickWidget *quick = new QQuickWidget; mw.addTab(quick, "tab2"); win.show(); return app.exec(); }
- relates to
-
QTBUG-57482 QWebEngineView cause setUnifiedTitleAndToolBarOnMac style error
-
- Closed
-