Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.4.0
-
None
-
macOS 12.6 Monterey M1/Intel
-
-
2bdc027f5c (qt/qtbase/dev) 2bdc027f5c (qt/tqtc-qtbase/dev) 9923c623ad (qt/tqtc-qtbase/6.2) 32af1fe7d3 (qt/qtbase/6.4) 32af1fe7d3 (qt/tqtc-qtbase/6.4)
Description
On macOS when setting the style as recommended in the documentation before creating a new `QApplication` object, everything works fine for the non macOS styles however when setting the macOS one, the application crashes. Even if there's no need to do that, a crash should not happen anyway since it should be the equivalent of a "noop".
#include <QApplication> #include <QDebug>int main(int argc, char **argv) { QApplication::setStyle("macos"); QApplication app(argc, argv); app.exec(); }
First discussed on this forum thread.
Attachments
For Gerrit Dashboard: QTBUG-108047 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
442248,2 | macOS: delay initialization of small font | dev | qt/qtbase | Status: MERGED | +2 | 0 |
442435,2 | macOS: delay initialization of small font | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
442471,2 | macOS: delay initialization of small font | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |