Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Some future release
-
None
-
7b77ef6 (qtbase) 50f4676f6189500ce6c488a9596eb09a05c7fd53
Description
A link created using \target does not compile in qtdeclarative:
Definition target:
\target qqmlpropertymap_derived_parentobj
\fn QQmlPropertyMap::QQmlPropertyMap(DerivedType *derived, QObject *parentObj)
Constructs a bindable map with parent object \a parent. Use this constructor
In classes derived from QQmlPropertyMap.
Linking to the target (in the same file, qqmlpropertymap.cpp):
\note When deriving a class from QQmlPropertyMap, use the \l {qqmlpropertymap_derived_parentobj}{protected two-argument constructor} which ensures that the class is correctly registered with the Qt \l {Meta-Object System}.
Error message:
/home/nico/dev/gerrit/stable/qtdeclarative/src/qml/util/qqmlpropertymap.cpp:134: warning: Can't link to 'qqmlpropertymap_derived_parentobj'