forked from qt-creator/qt-creator
QmlDesigner: Compilation fix for Qt5 builds
Change-Id: I37ddd5024588c14ea415ad43ffe5b7a89c3f6857 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -1859,7 +1859,10 @@ void Qt5InformationNodeInstanceServer::changeSelection(const ChangeSelectionComm
|
||||
if (qobject_cast<QQuick3DModel *>(object)
|
||||
|| qobject_cast<QQuick3DCamera *>(object)
|
||||
|| qobject_cast<QQuick3DAbstractLight *>(object)
|
||||
|| qobject_cast<QQuick3DParticleSystem *>(object)) {
|
||||
#ifdef QUICK3D_PARTICLES_MODULE
|
||||
|| qobject_cast<QQuick3DParticleSystem *>(object)
|
||||
#endif
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
// Node is a component if it has node children that have no instances
|
||||
|
Reference in New Issue
Block a user