-1

I'm trying to build a Qt, but I get this error:

 C2039: "type object 'QPalette' has no attribute 'PlaceholderText'"

I tried to find where I'm using PlaceholderText, but couldn't.

1 Answers1

1

Color role QPalette::PlaceholderText exists since Qt 5.12. See https://doc.qt.io/qt-6/qpalette.html#ColorRole-enum

enter image description here