Declaring dependencies in QML plugins
-
Hi,
Is it possible to have a (C++) QML plugin declare a dependency on another plugin? I.e. I want to be able to use a type that is defined in plugin A to be used by plugin B, both written in C++. How do I do that?
Thanks,
Burk.
-
Hi,
I guess you need to use "import Plugin name". For more details go through the link http://qt-project.org/doc/qt-4.8/qml-extending.html
-
I am aware of the import statement from QML. However, my plugin has no QML component; it is C++ only. So what I'm asking is how to achieve the effect of "import B" in C++.
Burk.