On Sunday, I was facing some problems while compiling the LibreCAD 3. It was showing more than 30 errors. Then I reinstalled Qt and re-cloned the LibreCAD and then it was showing 1 error and that was: Wrong Permission or path.
Then I changed the permission of the file “demo” located in /home/mandeep/build-kerneldev-Desktop_Qt_5_1_0_GCC_64bit-Debug/lcdemo from root to user.Then I re-compiled it and that’s it. It’s working.
At home, I tried making some lines, squares, circles. And then I made a figure:
Click Here to see the code.
Please comment to suggest better code.