Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
5.12.0
-
None
-
Windows 10
Qt 5.9
-
-
3c3a2eb3cea0bbb0b45e43278421e051c253e434 (qt/qtbase/5.12) 357bc63639a6ef46f6fe4c626ffbc463ad178ba6 (qt/qtbase/5.9)
Description
Creating a color palette within designer creates a color for the QPalette::PlaceholderText role, even when this not supported in the selected Qt 5.9 kit (QPalette::PlaceholderText has been added with Qt 5.12).
Normally, the value is not generated unless actively modified, but the "Quick Tune Palette" button creates values for all roles.
This creates invalid code in the moc'd C++ file, requiring to edit the .ui file by hand (which is actively discouraged by Creator).
"Add a QPalette color role for placeholder texts" ebd3a13b807c6af2684b42d3912549caf7ef82aa https://codereview.qt-project.org/#/c/221775/
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-21715 Error compiling: PlaceholderText is not a member of QPalette
- Closed
-
QTCREATORBUG-21762 'PlaceholderText' is not a member of 'QPalette'
- Closed
For Gerrit Dashboard: QTBUG-72555 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
248239,2 | uic: Generate version check macros around newly introduced palette color role | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |
248418,2 | uic: Generate version check macros around newly introduced palette color role | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |