completely new application based on QCad framework

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
Junior Member
Posts: 18
Joined: Fri Sep 27, 2013 3:23 pm

completely new application based on QCad framework

Post by s4eed » Sat Nov 23, 2013 10:06 am

Hi dear users specially dear Andrew! :D
I'm going to create a new application based on QCad application framework. Searching through the net didn't have a useful result.
So what't the way? Should I create my own menus and actions based on tutorials on the QCad site and just run QCad.exe itself?
I tried to remove some of useless menus for my project from scripts folder but QCad didn't start!
I just want to have a program that can import dxf files and then I'm going to add some new functionality to it.
Thanks in advance !

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

Re: completely new application based on QCad framework

Post by andrew » Sat Nov 23, 2013 11:37 am

First remove the QCAD Pro and QCAD/CAM trial plugins if you haven't already. These plugins depend on the QCAD tools in ./scripts.

Now you can remove the tools you don't want by deleting the appropriate directories.

Note that some tools depend on others.

For example, to remove all tools connected to block handling, remove the directories:

If you remove tool by tool and always check if QCAD is still working, you should be able to strip it down to the bare minimum.

Some hints:
- look at the console output to check for error messages
- enable the script debugger (it will pop up as soon as a dependency is not met, a script cannot be found, etc):
./qcad -enable-script-debugger

Post Reply

Return to “QCAD Developers and Contributors”