Qt3D auto-parenting triggered warnings for non-QNode objects


Creating non-QNode objects triggered a misleading warning when Qt3D.Core
was imported, despite having no relation to the 3D scene.

Return IncompatibleParent for QNode; otherwise, return
IncompatibleObject.

Pick-to: 6.11
Fixes: QTBUG-129888
Change-Id: Ibda733c93d331c9fd4725c18f49a9cd72a8a1b34
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
commit1a4eed4e53891e7fe414bf0f296fba17bd3b8ddf
parent085ccd35571a4f1e9bf65b21f2d9a6585d8e2f45
authorDheerendra Purohit <dheerendra@pthinks.com>
committerDheerendra Purohit <dheerendra@pthinks.com>
commit timeThu, 30 Apr 2026 09:50:04 +0000