Version 9 (modified by trac, 17 years ago) ( diff )



Introduction to QCad

QCad is an application for computer aided drafting in two dimensions. With QCad you can create technical drawings such as plans for buildings, interiors or mechanical parts. QCad was designed with modularity, extensibility and portability in mind. It is fully described on its homepage: .

Package Information

Additional Downloads (Optional)

Part Library

The part library contains a collection of about 4500 mechanical, electrical and processing parts and symbols that can be used with the QCad 2 library browser.

QCad Dependencies



Optional (for the part library only)


Installation of QCad

Establish the Qt environment for the QCad build script:

   	export QTDIR=/opt/qt &&
   	export QMAKESPEC=$QTDIR/mkspecs/linux-g++

Fix a problem building with gcc-4:

   	sed -i s/-pedantic//g mkspecs/

Now build QCad and it's libraries with:

   	cd scripts &&
   	sh ./ notrans

The QCad package does not come with a test suite. As the root user, install QCad and it's standard files with:

   	cd .. &&
        cp -a qcad /opt &&
        cd /opt/qcad &&
        rm -rf src &&
        rm Makefile &&
        ln -sv /opt/qt/bin/assistant bin

Installation of the Part Library

Install the partlibrary in /opt/qcad/partlibrary- with:

        cd /tmp &&
        unzip &&
        cp -R partlibrary-* /opt/qcad/library &&
        rm -Rf partlibrary-

Command Explanations

export QTDIR=/opt/qt
Your installation of Qt might be in /usr, in which case modify this command accordingly.
export QMAKESPEC=$QTDIR/mkspecs/linux-g++
This tells the Qt Qmake application that the build is for a Linux system.
sed -i s/-pedanticg mkspecs/
This sed removes a gcc compiler directive that breaks the build on gcc-4 systems.
cp -a qcad /opt/
This installs qcad and all its standard fonts and patterns in /opt/qcad.
rm -rf src
This removes the source files now that the build is complete.
rm Makefile
Remove these files as they are not required at runtime.
ln -sv /opt/qt/bin/assistant bin
Fixes problem with opening Manual from QCad menu.
This command installs the large part library if you downloaded it.


QCad will run perfectly well without any configuration, however if you installed the optional large part library you should tell QCad where to find it by editing the Part Library path in the Application Preferences dialog which is an item of the Edit menu.

Use the Applications Preferences dialog to set your preferred units and paper sizes. Other configuration is possible see the HTML Manual installed at /opt/qcad/doc/index.html by these instructions.


Installed Programs: /opt/qcad/qcad
Installed Library: None
Installed Directories: /opt/qcad

Short Descriptions

The qcad application

Last updated on Timestamp

Note: See TracWiki for help on using the wiki.