Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
6.0.0
-
None
Description
If one does not include "private/qproperty_p.h" and uses Q_OBJECT_COMPAT_PROPERTY, the error messages are not very helpful, e.g.:
/home/andreasbuhr/development/qtdev/playground/main.cpp:23:44: error: ‘xProp’ has not been declared
23 | Q_OBJECT_COMPAT_PROPERTY(MyClass, int, xProp, &MyClass::setX)