Qt Creator problem after update 'PlaceholderText' in 'QPalette'
Solved
General and Desktop
-
Hi,
I update Qtcreator to 4.8.2 and now my projects gives
ui_widget.h:656:55: error: no member named 'PlaceholderText' in 'QPalette'
Qt5.11 is my base.
Even I get bac to the qtcreator 4.6.2 I have same problem ?
What can I do ? Do I need to update qt 5.12.1 or downgrade to a specific qtcreator ?
Al my codebase blocked . please help.....
i m shocked.......
[edit: fixed coding tags SGaist]
-
Hi,
The error is pretty clear: QPalette has no such method. You likely want to set that on a QLineEdit, right ?
-
please see here for reason, workaround and fixes: https://bugreports.qt.io/browse/QTBUG-72555
-
Thanks,
i coudlnt get back to old version of creator and it was painful few hours.
So I upgrade my projects to 5.12.1 now all is good and no error.
Thanks