Solved "placeholder text is not a member of palette"
-
I got this error message after I installed the last update.
Have no idea how to make it right.
I never used that option myself, i gets generated when Qt generates ui_mainwindow.h
Any idea?
Thomas
-
@Tomax63 said in "placeholder text is not a member of palette":
Any idea?
Well, you should at least say what you updated.
Also, after the update - did you delete the build directory, run qmake and rebuild? -
Sorry for being unprecise.
I updated Qt Creator to version 4.8
And yes, after the update i deleted and remade everything new.
-
@Tomax63 And you for sure did not update Qt? Maybe you should try with Qt 5.12.
-
I updated to Qt 5.12 now and it worked.
Thank you! -
Have faced the same problem, but I have no chance to use Qt5.12. Seems that QtCreator 4.8.1 when you edit your .ui file substract default values for QPalette. Qt::PlaceholderText, butyou dont have this value in earlier versions of Qt. The problem solves by editing .ui file directly with some text editor(not qtdesign) and removing all blocks that contains "PlaceholderText ".
-
@Gr8Parker That's tracked as QTBUG-72555