28 Feb, 2013

Compilation of QCAD source code.

First download community edition from


Steps are:
$ export QTDIR=/usr/share/qt4
$ export QMAKESPEC=$QTDIR/mkspecs/linux-g++-64
$ export PATH=${QTDIR}/bin:${PATH}
$ cd dxflib
$ ./configure
$ make
$ sudo make install
$ cd fparser
$ ./configure
$ make
$ sudo make install
$ ./build_qcad.sh no_trans

At this step i am getting errors and it is a last step of compilation.

Before today i was getting errors because of Environmental Variables.

I was not exporting the correct path where QT is stored.

I modified my  shared library in C++  according to my own standards.

Here it is



I also joined RibbonSoft Forum.

Next work is:I choose draw line menu with angle and length in Librecad.

We have to give point1 ( x1, y1 ), angle from 0 to 360, and length.

But when i re-engineered this file, i noticed that there was also point2 ( x2, y2 ), no mentioned angle and length that i had given.

It derives point2 from angle and length.

Then i used my mathematical mind, derives the formula that generate point2.

Suppose we had given angle = 45 and length = 20

x2= x1 + length * cos(angle);

y2= y1 + length * sin(angle);

Now i am going to add this feature in my library

Add line type menus like rectangle, horizontal,vertical to our library.
But still getting errors.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s