qmlrs
qmlrs copied to clipboard
qmlrs/examples/factorial_ui.qml:2 module "QtQuick.Controls" version 1.2 is not installed
I am stuck running with the examples. I have installed a lot of qt library already including
- qtbase5-dev
- qtdeclarative5-dev
- libqt5qml-quickcontrols
- qtcreator qtcreator-dev
still getting this error
qmlrs/examples/factorial_ui.qml:2 module "QtQuick.Controls" version 1.2 is not installed
What am I missing?
A workaround to the issue is to change to version of imported QtQuick.Controls to a lower version
import QtQuick.Controls 1.2 --> import QtQuick.Controls 1.1
@ivanceras which Qt version are you using? I'm not sure since which version QtQuick.Controls 1.2 is included.
qmlrs doesn't care at all what you import into your QML files though, as long as you have that module. If you don't need the features from Controls 1.2 in your application, you're fine.
This issue is more a question of making the example compatible with the lowest Qt version we want to support.