wiki:InstallQcad

Version 5 (modified by Richard A Downing, 16 years ago) ( diff )

--

QCad-2.0.5.0

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: http://www.ribbonsoft.com/qcad.html .

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

Required

Qt-3.3.5

Optional (for the part library only)

unzip-5.52

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/defs.pro

Now build QCad and it's libraries with:

   	cd scripts &&
   	sh ./build_qcad.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 build.sh

Installation of the Part Library

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

        cd /opt/qcad &&
        unzip partlibrary-2.0.1.2-1.zip

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/defs.pro
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 build.sh
Remove these files as they are not required at runtime.
unzip partlibrary-2.0.1.2-1.zip
This command installs the large part library if you downloaded it.

Configuration

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.

Contents

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

Short Descriptions

qcad
The qcad application

Last updated on Timestamp

Note: See TracWiki for help on using the wiki.