Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
6.0
Description
The following example fails:
import QtQuick import QtQuick.Controls Window { }
The error message is:
QQmlApplicationEngine failed to load component
qrc:/main.qml:2:1: module "QtQuick.Controls" is not installed
If I change the QtQuick.Controls import to be versioned, it works fine:
import QtQuick import QtQuick.Controls 2.12 Window { }
Most likely due to Qt Quick Controls 2 having a special install target, since it was previously in name conflict with Qt Quick Controls 1 which was still supported.