Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.5.5
-
None
Description
for example
Q_INVOKABLE void setImageArea(const QRect& area) { qDebug() << "setImageArea area:" << area; }
will give warning like
Warning: Main.qml:90:21: Could not compile function setImageArea: type QRect for argument 0 cannot be resolved [compiler]
MyConstants.setImageArea(area)
^^^^^^^^^^^^
please see the attached demo