[solved] custom QML extension plugin
-
wrote on 28 Aug 2012, 12:01 last edited by
Hello, I've some problems with a custom QML extension plugin. Now, I did the following steps:
File>New>Custom QML Extension plugin> I've created the plugin.
Now I don't know what to do, how can I use this plugin with another project?
Thanks. -
wrote on 28 Aug 2012, 16:07 last edited by
Link to your plugin library and import it in QML of your app.
-
wrote on 28 Aug 2012, 17:53 last edited by
Yes, but how?? (I'm a beginner of QT)
-
wrote on 30 Aug 2012, 19:13 last edited by
Thanks for the help. But I've never use qmake commands before, i've seen the documentation but don't understand it. Can you please explain how to use? I have to write those lines in the .pro file?
-
wrote on 30 Aug 2012, 21:19 last edited by
Well, you can build your plugin within Qt Creator. Then just go to the directory where you stored the .pro file and run make install (or nmake install if you use windows).
qmake and make commands should be run in console (in windows there is an entry in start menu called something like "Qt command prompt").
Another way could be to add a build step in Qt Creator, so every time you build, it will also be reinstalled.regards
1/6