[cad-linux] Giving back: instructions for building QCAD on Fedora 2...
- From: Kim Lux <lux@xxxxxxxxxxxxxxxxxxx>
- To: cad-linux@xxxxxxxxxxxxx
- Date: Tue, 22 Jun 2004 13:38:39 -0600
Hi people. There was an email to the group a while ago about building
QCAD from source (community version) and I just did it, so I thought I'd
share. Here are the steps that I took:
a) download the QCAD v2 source from http://www.ribbonsoft.com/qcad.html
b) Untar it Find the README file (with the build instructions) and
print them out.
c) As per said instructions, find where qt and qt-devel are located.
The commands for doing so are "rpm -q qt -i" and " rpm -q qt-devel
-i".
My Fedora 2 computer did NOT have qt-devel installed, so I downloaded
the RPM from a Fedora mirror (see www.fedoranews.org) in the following
path: /fedora/core/2/i386/os/fedora/RPMs. To install qt-devel, I use
"rpm -i qt-devel*rpm", but I am sure you all know that.
d) Once qt-devel is installed, I set up the environment vars as per the
README.
export QTDIR=/usr/lib/qt-3.3
The README says /opt/qt, but this is wrong for my machine.
export QMAKESPEC=$QTDIR/mkspecs/linux-g++
export PATH=$PATH:$QTDIR/bin
e) check all your vars and check that qmake works:
echo $QTDIR
echo $QMAKESPEC
qmake -v
f) Run the script for building QCAD:
cd scripts
sh ./build_qcad.sh
This resulted in a running version of QCAD for me.
--
Kim Lux <lux@xxxxxxxxxxxxxxxxxxx>
- Follow-Ups:
- References:
- [cad-linux] acadwrap enhancements
- From: Eric Wilhelm
- [cad-linux] Re: acadwrap enhancements
- From: phrostie
Other related posts:
- » [cad-linux] Giving back: instructions for building QCAD on Fedora 2...
- » [cad-linux] Re: Giving back: instructions for building QCAD on Fedora 2...
- [cad-linux] acadwrap enhancements
- From: Eric Wilhelm
- [cad-linux] Re: acadwrap enhancements
- From: phrostie