I recently purchased the QCAD Pro licence with the intention to develop plugins and add-ons to extend the application.
The documentation for extending the app with scripts (ECMAScript/JavaScript) seems quite comprehensive. I completed some of the tutorials and examples without a problem.
For my project I would like to write plugins in clean C++ for I won't be using the QCAD API (or Qt). These plugins will then be called by implementing GUI actions using ECMAScript.
If a tool requires complex or CPU intensive algorithms, these could be implemented in a C++ plugin which is then called from the script - Andrew.
[Referring to this thread: https://qcad.org/rsforum/viewtopic.php?f=30&t=3039] How will this plugin be called from the script?
However, I can't seem to find a tutorial on the howto of developing C++ plugins for QCAD. At QCAD's github page [here: https://github.com/qcad/qcad/tree/maste ... mpleplugin] there is an example plugin. Where in my QCAD Pro folder structure should this code go and when is it compiled? There's also a lot of "Copy QWebView plugin from folder $QTDIR/plugins/designer here." type readmes that confuses me.
In addition to my own plugins I wish to call external C and C++ libraries from the GUI developed by another developer. For now I'll refer to this thread [here: viewtopic.php?f=30&t=2402] but since this was asked more than 2 year ago; did anything change in this regard?
Thanks.
All the best,
Stefan