QmlDesigner: Compilation fix for Qt5 builds

Change-Id: I37ddd5024588c14ea415ad43ffe5b7a89c3f6857
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
Miikka Heikkinen
2021-11-12 10:31:52 +02:00
parent 5b84f409c8
commit 9e04c6133c

View File

@@ -1859,7 +1859,10 @@ void Qt5InformationNodeInstanceServer::changeSelection(const ChangeSelectionComm
if (qobject_cast<QQuick3DModel *>(object) if (qobject_cast<QQuick3DModel *>(object)
|| qobject_cast<QQuick3DCamera *>(object) || qobject_cast<QQuick3DCamera *>(object)
|| qobject_cast<QQuick3DAbstractLight *>(object) || qobject_cast<QQuick3DAbstractLight *>(object)
|| qobject_cast<QQuick3DParticleSystem *>(object)) { #ifdef QUICK3D_PARTICLES_MODULE
|| qobject_cast<QQuick3DParticleSystem *>(object)
#endif
) {
return true; return true;
} }
// Node is a component if it has node children that have no instances // Node is a component if it has node children that have no instances