QmlDesigner: Suppress warnings if Quick3D is not used

Amends d076c59429.

Change-Id: I3cba673b7cdd4e99541581008bedfb6d0d333339
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
hjk
2019-12-04 09:19:09 +01:00
parent 6168c3b675
commit d61773fa25
@@ -112,6 +112,10 @@ void Quick3DNodeInstance::setPickable(bool enable, bool checkParent, bool applyT
setPropertyVariant("pickable", enable); // allow 3D objects to receive mouse clicks
}
}
#else
Q_UNUSED(enable)
Q_UNUSED(checkParent)
Q_UNUSED(applyToChildren)
#endif
}