Unsolved Module not installed error - qmlRegisterSingletonType
-
Hi,
Our Qt application was initially created in qt 5.6 and Ubuntu 16.04 environment. But recently we had to upgrade to ubuntu 18.04 and qt 5.11. The same software which was working before has some issues now.
The issue now is :
In main.cpp,
qmlRegisterSingletonType(QUrl("qrc:/qml/Components/Style.qml"),
"com.xxx.yyy.dev.devStyle", 1, 0, "devStyle");Now in main.qml, i am using
import com.xxx.yyy.dev.devStyle 1.0But it is throwing error qrc:/qml/MainNew.qml:4:1: module
"com.xxx.yyy.dev.devStyle" is not installedPlease provide a solution to how to solve this issue.
-
@parvathypb please don't double post...
-
@Pablo-J-Rogina Indeed. Closing this one.