ECMQmlModule: Adjust to major version not being in path in Qt6
In the Qt6 the path is for example: /usr/lib/x86_64-linux-gnu/qt6/qml/QtQuick In Qt5, it was however: /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick.2/ Otherwise, we would fail with a fatal error about the qmldir not being found. The change also affects plugins using ecm_add_qml_module
parent
ba7492fe