Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
"unknown property text color"?
hey folks. When I run my program the console keeps popping out "unknown property text-color".
what does it mean? In my program the only place which could have something to do with it is the label text color and I set it as white.
Do you use a stylesheet?
Yves Maurischat last edited by
You need to be more specific. Is ist a QML application? Do you use the Label QML type? if yes: the Label doesn't have a property named "text-color", us the "color" property.
@mrjj hi, yes I'm using stylesheet, Yves is right, I replaced text-color with "color" in stylesheet, it seems that was the problem.
@Yves-Maurischat I'm writing in c++. Thanks for the help, that was the problem.