For Creating plugin we have to manually copy the sample folder and have to replace many things over there. Which is very tedious so to save time and user effort I have created this script. Just give permissions to script and run this script in LibreCAD/plugins folder and edit plugins.pro file, add the plugin name in SUBDIRS and save the changes. Plugin is created now run the librecad as project in Qt and modify its coding.
Enjoy