How to distribute a c++ plugin

Discussion forum for contributors and developers who are using the QCAD ECMAScript development platform or the C++ plugin interface or who are otherwise looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Post Reply
ezm
Newbie Member
Posts: 8
Joined: Wed Nov 14, 2018 6:30 pm

How to distribute a c++ plugin

Post by ezm » Wed Mar 27, 2019 4:10 pm

Hi Andrew,

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

Thanks

User avatar
andrew
Site Admin
Posts: 6289
Joined: Fri Mar 30, 2007 6:07 am

Re: How to distribute a c++ plugin

Post by andrew » Wed Mar 27, 2019 4:23 pm

You can simply bundle the plugin with your package / installer in the "plugins" directory.

ezm
Newbie Member
Posts: 8
Joined: Wed Nov 14, 2018 6:30 pm

Re: How to distribute a c++ plugin

Post by ezm » Wed Apr 24, 2019 2:49 pm

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 2026 times

User avatar
andrew
Site Admin
Posts: 6289
Joined: Fri Mar 30, 2007 6:07 am

Re: How to distribute a c++ plugin

Post by andrew » Fri Apr 26, 2019 1:49 pm

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".

ezm
Newbie Member
Posts: 8
Joined: Wed Nov 14, 2018 6:30 pm

Re: How to distribute a c++ plugin

Post by ezm » Mon Apr 29, 2019 5:05 pm

Ok, thanks !

Post Reply

Return to “QCAD Developers and Contributors”