Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.5.0
-
None
-
windows
-
cb24903ef4df0571f8498fca6bc58f5df6dd68af
Description
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'