Invalid property name "color". (M16) For custom property of PieChart in the example project "extending-qml".
-
I'm a Qt beginner and is learning the example "extending-qml". Seems the custom type 'color' in class PieChart is not recognized by the designer and I can not switch to the Form Editor.
Anyone knowns how the solve this problem? Thanks.
-
It seems that I installed two versions of Qt, 5.10 and 5.11. I removed 5.11 and the problem be solved.
@Diracsbracket Thanks for your reply. -
It seems that I installed two versions of Qt, 5.10 and 5.11. I removed 5.11 and the problem be solved.
@Diracsbracket Thanks for your reply.@Jiabin said in Invalid property name "color". (M16) For custom property of PieChart in the example project "extending-qml".:
I installed two versions of Qt, 5.10 and 5.11. I removed 5.11 and the problem be solved
Glad it is sorted out. What is strange though is that having multiple Qt versions installed really shouldn't be a problem. Switching between multiple installed kits works pretty well usually.