
** Note: These instructions apply for Linux-systems. They probably work
**       for other Unices as well, but I haven't tried it.

QT 3
----

To run QVCDGear you need to have the QT3-libs installed.
To build it you also need the headers, uic, moc, qmake and mkspecs from
the QT3-distribution. If you don't have QT3 installed, get it from 
ftp.trolltech.com or your Linux distributor.


Installing the binary
---------------------

An executable of qvcdgear is supplied along with the sources. It's built on
a Gentoo Linux system, but should (?) work on most Linux systems, as long
as the qt3-lib is in LD's path, or in /usr/qt/3/lib (It's built with 
-rpath=/usr/qt/3/lib). If the lib isn't in LD's path, add it by adding a 
line to /etc/ld.so.conf that points to your qt3-installation's lib-dir.
Note that this isn't always desireable, so building qvcdgear from scratch
might be a better option.
To install qvcdgear, just copy the executable (qvcdgear) to a suitable 
location, e.g. /usr/local/bin.

Building QVCDGear
--------------------------------

Step 1: Environment variables

  You need to set $QTDIR to point to the base of your QT3-installation, e.g:

  $ export QTDIR=/usr/lib/qt-3.0.1

  Also, QMAKESPEC needs to be set to the mkspec-dir of your system, e.g:

  $ export QMAKESPEC=$QTDIR/mkspecs/linux-g++

Step 2: Where to install

  Edit qvcdgear.pro and change 'target.path' to point to the directory where
  you want qvcdgear to be installed. Default is /usr/local/bin.

Step 3: Generate Makefile

  The Makefile will be generated by qmake, like this:

   $ $QTDIR/bin/qmake qvcdgear.pro

Step 4: Compile

  To compile qvcdgear, just run make.
   
  $ make

Step 5: Install

  To install qvcdgear run 'make install'. The executable will be copied to 
  the directory you specified in Step 2.

  $ make install

