Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.13.0 Alpha 1
-
None
-
-
07580a8d7bc92085c7585e3cbe447562bf28ab85 (qt/qtbase/wip/qt6)
Description
Since commit "uic: Small refactorings" b86d0b62156993936bf93169a895a92ad60adf7d https://codereview.qt-project.org/#/c/245483/ I am getting a compile error in a ui_.h file:
./ui_form.h:49:41: error: 'QIcon' does not refer to a value tabWidget->addTab(tab1, QIcon icon1; ^ ../qtbase/src/widgets/kernel/qwidget.h:90:7: note: declared here class QIcon; ^
The generated code looks like this:
tabWidget->addTab(tab1, QIcon icon1;
icon1.addFile(QString::fromUtf8(":/icons.png"), QSize(), QIcon::Normal, QIcon::Off);
icon1, QString());
Attachments
For Gerrit Dashboard: QTBUG-72980 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
250098,2 | uic: Fix broken icon code generation | dev | qt/qtbase | Status: MERGED | +2 | 0 |