qrc:/main.qml: plugin cannot be loaded for module "QtQuick.Controls": Cannot protect module QtQuick.Controls 2 as it was never registered
Solved
QML and Qt Quick
-
Hi All,
I am facing a different issue after including the statement “import QtQuick.Controls 2.x” in main.qml . The below error is coming while running
qrc:/main.qml: plugin cannot be loaded for module "QtQuick.Controls": Cannot protect module QtQuick.Controls 2 as it was never registered
Attaching Qt related installation files for your reference:
Bin folder (/usr/local/Qt-5.15.1/bin)
Qml folder (/usr/local/Qt-5.15.1/qml/QtQuick.2)
Can anyone please suggest or can give some inputs?
-
This post is deleted!
-
@Praveen-Illa
I have found the solution. The solution is reconfigured the command line with QtGraphicalEffects and rebuild the complete Qt sources. Qt Quick uses QtGraphicalEffects module.Thanks to all for supporting