qmlrs icon indicating copy to clipboard operation
qmlrs copied to clipboard

qmlrs/examples/factorial_ui.qml:2 module "QtQuick.Controls" version 1.2 is not installed

Open ivanceras opened this issue 9 years ago • 2 comments
trafficstars

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?

ivanceras avatar Apr 11 '16 05:04 ivanceras

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 avatar Apr 11 '16 06:04 ivanceras

@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.

florianjacob avatar Apr 12 '16 20:04 florianjacob