Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.13.1
-
None
Description
Seen on MacOS and Linux. Just add these line on a new qt widget application to check it.
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); //QFontDialog fontDialog; //OK QFontDialog fontDialog(QFont("Ani")); fontDialog.setOption(QFontDialog::DontUseNativeDialog); if (fontDialog.exec()) // <- select another font than Ani { qDebug() << fontDialog.selectedFont(); //will return Ani anyway } }
seems to be related to this oneĀ https://bugreports.qt.io/browse/QTBUG-35857