forked from qt-creator/qt-creator
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user