Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
6.2.4, 6.3.1
-
None
-
Xcode 13.4.1, iOS 15.6, iPhone XR
Description
Text rendering in widgets is broken when running on iOS with Qt 6.2.4 and 6.3.1. On 5.15.5 there's no such issue. Tested in QPushButton and QLabel.
Sample code:
#include <QApplication> #include <QPushButton> #include <QVBoxLayout> #include <QWidget> int main(int argc, char *argv[]) { QApplication a(argc, argv); QWidget w; w.show(); QPushButton b{QStringLiteral("Quit"), &w}; QObject::connect(&b, &QPushButton::clicked, &a, &QCoreApplication::quit); QPushButton b1{QStringLiteral("Dummy"), &w}; QVBoxLayout vbl{&w}; vbl.addWidget(&b); vbl.addWidget(&b1); return a.exec(); }
removing QStringLiteral or replacing it with QLatin1String has no effect.
All my Qt versions are built with -no-freetype -no-harfbuzz.
P.S. The visible keyboard is related to QTBUG-102544.
Attachments
Issue Links
- duplicates
-
QTBUG-100361 No font rendering at all when configured with -no-harfbuzz
- Closed