Page 1 of 1

How to distribute a c++ plugin

Posted: Wed Mar 27, 2019 4:10 pm
by ezm
Hi Andrew,

I have developed a c++ plugin in QCAD community edition. Can you let me know how to distribute the plugin?

Thanks

Re: How to distribute a c++ plugin

Posted: Wed Mar 27, 2019 4:23 pm
by andrew
You can simply bundle the plugin with your package / installer in the "plugins" directory.

Re: How to distribute a c++ plugin

Posted: Wed Apr 24, 2019 2:49 pm
by ezm
Thanks Andrew.

But when my plugin contains QSharedPointer, when I load the dll it says The specified procedure could not be found.
I am using Qt 5.5.1 with MSVC 2013. QCAD version 3.22.0
QCAD plugin error.PNG
QCAD plugin error.PNG (53.41 KiB) Viewed 7388 times

Re: How to distribute a c++ plugin

Posted: Fri Apr 26, 2019 1:49 pm
by andrew
This is a Qt related problem.
You can set the environment variable QT_DEBUG_PLUGINS=1 to output more information when starting QCAD.
Also try to Google for "qt plugin the specified procedure could not be found".

Re: How to distribute a c++ plugin

Posted: Mon Apr 29, 2019 5:05 pm
by ezm
Ok, thanks !