-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: 5.5.0
-
Fix Version/s: 5.6.1
-
Component/s: Build tools: uic
-
Labels:None
-
Environment:windows
-
Commits:cb24903ef4df0571f8498fca6bc58f5df6dd68af
If a Custom Widget with a Q_Property of type Qt::PenStyle like:
Q_PROPERTY( Qt::PenStyle borderStyle MEMBER m_borderStyle) is used with Qt Designer, the generated header contains the following line:
label->setProperty("style", QVariant(Qt::SolidLine));
This results in compile time error like:
error: C2248: 'QVariant::QVariant' : cannot access private member declared in class 'QVariant'