cyndis / qmlrs

QtQuick interface for Rust
Apache License 2.0
437 stars 43 forks source link

how to support import QtQuick.XmlListModel 2.0 #9

Closed dallyshalla closed 8 years ago

dallyshalla commented 9 years ago

Greetings, thanks 10000 times for this library:

I am wondering about this: import QtQuick.XmlListModel 2.0

error: module "QtQuick.XmlListModel" is not installed

cyndis commented 9 years ago

Hi, all Qml-side imports just go through Qt's normal loading, so make sure that you have a new enough Qt with the QtQuick.XmlListModel module installed. Qmlrs doesn't modify the load paths or anything.

liamsi commented 9 years ago

import QtQuick.XmlListModel 2.0 works for me in Qt 5.4.1

florianjacob commented 8 years ago

@dallyshalla: I'm closing this, as it works for @Liamsi it's highly unlikely this is an actual problem with qmlrs, but probably a missing Qt module or old version of Qt. Please reopen if you still have problems.