Hi Guys I have been following this example to install a QML extension plugin
The plugin has been installed successfully to the following location:
and its stub to:
Now to use it in a QML file, I tried the following lines in the qmldir file which all resulted in the qml file to fail to launch because MyItem is undefined:
I also copied the stub file to the same folder containing the QML file using it.Code:plugin testQMLPluginDep plugin testQMLPluginDep c:/sys/bin plugin testQMLPluginDep c:\sys\bin plugin testQMLPluginDep c:\\sys\\bin plugin testQMLPluginDep c:\resource\qt\imports\ plugin testQMLPluginDep c:\\resource\\qt\\imports plugin testQMLPluginDep c:/resource/qt/imports
The folder of the QML files is on the memory card.
What is the correct path to use in qmldir to refer to my plugin ? given that my plugin and its stub reside in the following folders:
my plugin has no capability , could this be the problem ? and if yes, what is the basic capability for a QML extension plugin (mine just registers a type that draws a rect) ?