Tas pats (kas) tehniskās piezīmes

History

2nd June 2006

2:28pm: QCAD Installation from Sources (Community Edition)
3.2 Installation from Sources (Community Edition)

Please note that the source distributions of QCad are intended for
developers and people who want to run QCad on a platform where no
binaries exist. If you're not in these two groups of people, please
consider downloading a binary instead.
Please understand that RibbonSoft cannot offer support for compiling
and running the QCad community edition.

3.2.1 Requirements

You need to have the following tools and libraries installed to be ready
to compile QCad from sources:

- Qt 3.3 or later
- qmake (part of the Qt package)
- uic (part of the Qt package)
- make
- gcc 3.x

3.2.2 Preparation

Set QTDIR to the directory where you've installed Qt.
e.g.:
export QTDIR=/opt/qt

Set QMAKESPEC to the spec that is most suitable for your platform.
e.g.:
export QMAKESPEC=$QTDIR/mkspecs/linux-g++

Make sure that qmake and uic can be found in your path:
qmake -v
Qmake version: 1.04a (Qt 3.1.1)

If that is not the case, please add the Qt binary path to your PATH
environment variable:
export PATH=$PATH:$QTDIR/bin

3.2.3 Compilation

Change to the 'scripts' directory of your source code package:
cd scripts

Run the compilation script:
sh ./build_qcad.sh
Current Mood: bitchy
Powered by Sviesta Ciba