Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.12.1
-
None
-
-
efb7400
Description
When dark theme is selected in the macOS preferences, and there is an item with text on a toolbar, be it a QToolButton or QLabel, the text has wrong color - dark instead of light. It's unreadable:
Here's the repro:
#include <QApplication> #include <QMainWindow> #include <QToolBar> #include <QLabel> int main(int argc, char* argv[]) { QApplication app(argc, argv); QMainWindow window; auto toolBar = window.addToolBar("ToolBar"); toolBar->addWidget(new QLabel("Text")); window.show(); return app.exec(); }