LibreCAD is a 2D CAD drawing tool based on the community edition of QCad (www.qcad.org). LibreCAD has been re-structured and ported to qt4 and works natively cross platform between OSX, Windows and Linux . See www.librecad.org
TypeScript C++ C Other
Pull request Compare This branch is 19 commits ahead, 2055 commits behind LibreCAD:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
desktop blocklist: quick fix for block name searching, bug#3537865 Jun 25, 2012
libraries DRW_AttrDef defined (to be continued) Apr 9, 2013
librecad added dwgdevel Mar 30, 2013
mkspec/macports Fixed builds for OSX. Now we need Qt and gcc44 or gcc46 from macports… Feb 18, 2012
plugins Removed <unused> warnings from some plug-in files Mar 19, 2013
scripts New nsis file for Qt 4.8 May 22, 2012
tests Added test support for reactors Apr 5, 2013
tools correct disable ttf2lff if not have freetype in win Jan 14, 2013
.gitignore Ignore user files Mar 27, 2013
.gitmodules Plugins build fixes Feb 19, 2012
CLEAN.SH Removed a Makefile that isn't needed it git Feb 18, 2012
LICENSE Update LICENSE Dec 6, 2011
LICENSE_Apache2.txt License: added Apache2/GPLv3 licenses Dec 6, 2011
LICENSE_GPLv3.txt License: added Apache2/GPLv3 licenses Dec 6, 2011
README.md Update README.md Feb 19, 2013
common.pro Added custom.pro to all project files via common.pro Mar 19, 2013
gpl-2.0.txt Initial Import of CADuntu Aug 16, 2010
gpl-2.0greater.txt added or-greater text to librecad changes and additions Oct 17, 2011
librecad.astylerc Added options file for astyle code formater Nov 13, 2011
librecad.dox disable plugins when no exist a draw window Nov 29, 2012
librecad.pro enabled bulid libdxfrw test Mar 30, 2013
librecad.sln Removed dxflib, only new libdxfrw are used Jun 7, 2012
settings.pro Build file updates for Windows, tested and works! Feb 16, 2012
settings_linux.pro Small fix for ttf2lff tool Jul 15, 2012
settings_macx.pro Small fix for ttf2lff tool Jul 15, 2012
settings_windows.pro ability to use env vars to find libs in windows May 22, 2012

README.md

About LibreCAD

LibreCAD is a 2D CAD drawing tool based on the community edition of QCAD (www.qcad.org). LibreCAD has been re-structured and ported to qt4 and works natively cross platform between OSX, Windows and Linux. See http://www.librecad.org

UNIX and OSX users

Unzip or checkout a version of LibreCAD into a directory. CD into that directory and follow these instructions:

Build makefile and compile LibreCAD

qmake librecad.pro
make

Ubuntu/Debian users

Make sure you have the qt-4 SDK installed Install the qt4 SDK by executing the following commands:

$ sudo apt-get install g++ gcc make git-core libqt4-dev qt4-qmake \
libqt4-help qt4-dev-tools libboost-all-dev libmuparser-dev

Alternatively, you make sure you have deb-src lines enabled in your sources.list file, and run,

$ sudo apt-get build-dep librecad

For SVN see also: http://www.librecad.org/2010/10/debian-64-bit-and-ubuntu-compile-how-to/

For git see also: http://librecad.org/cms/home/from-source/linux.html

NOTE 1: On systems like fedora (& Ubuntu??) You might need to run qmake-qt4 instead of just qmake

Windows Users

Notes: At this point you will have the following directory structure: C:\muparser\muparser_v2_2_2. If you prefer to keep muParser in other locations, you should specify the directiory location with a custom.pro file in LibreCAD source folder, for example, the following setting is equivalent to the default muparser path in common.pro: MUPARSER_DIR = /muparser/muparser_v2_2_2

  • Start Qt Desktop using "Qt 4.8.4 for Desktop (MinGW)" shortcut.
  • In Qt Desktop console, navigate to muParser build directory (C:\muparser\muparser_v2_2_2\build), then type the following command to built muParser library: mingw32-make -fmakefile.mingw

After installation, start Qt Creator and load LibreCAD.pro, from the build menu select "Build All".

OSX USERS

install macports from http://www.macports.org/

After that install QT and a new gcc, at mimimum you properly need gcc 44

Install a version of Qt < 4.8.0, 4.7.4 for example sudo port install gcc46 qt4-creator-mac qt4-mac boost

When installed run to build a makefile qmake librecad.pro -r -spec mkspec/macports