That means it's relying on some automatic registration somewhere, somehow.

QQuickLayout has a QML_NAMED_ELEMENT macro which means it's picked up by qmltyperegistrar which does what it says. Of course it only does that if you actually import QtQuick somewhere. That's probably the difference between the two cases.

That's poor programming practice.

No.

best regards,
Ulf

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to