1. Unpack the archive, unless you already have:

	cd /tmp			# it is temporary, everything will be moved
	tar zxf qt-0.91b.tar.gz	# unpack the main archive

This will create a directory, /tmp/qt-0.91b, containing the files from the
main archive.  The rest of this document assumes that Qt was untarred as
above.

You may need to be root, depending on the permissions of the directories
you choose to install Qt in.

cd into /tmp/qt-0.91b and read the README file.  You may also want to
ANNOUNCE file if you haven't read the comp.os.linux.announce posting
already.


2. Choose whether you want to install the ELF or a.out library.

If you want ELF, you will need X11R6 libraries in ELF format as well
as libc 5.  We used HJ Lu's second X11R6 libraries, libc 5.0.9, gcc
2.7.0 and binutils 2.5.2l.17 to make this distribution.

If you want a.out you will need X11R6 libraries in a.out format as well as
libc 4.6.27 or later.  We used gcc 2.6.2 to make this distribution.  We
have not bothered to make a.out shared libraries.


3. Untar either elf.tar or aout.tar in your preferred library directory.
/usr/lib is fine, though we prefer to use /usr/local/lib:

	cd /usr/lib 			# or another directory, if you prefer
	tar xvpf /tmp/qt-0.91b/elf.tar	# or aout.tar


4. Install the HTML documentation, header files and examples.  Choose
a directory, for instance /usr/local/lib/qt, and:

	cd /usr/local		#
	tar xvpf /tmp/qt-0.91b/misc.tar

This will create several subdirectories of /usr/local:
 - /usr/local/lib/qt/include is the include files for qt, which you
    can add to the environment variable $CPLUS_INCLUDE_PATH to avoid
    having to use -I arguments to gcc all the time.
 - /usr/local/lib/qt/examples contains a number of Qt examples.
 - /usr/local/lib/qt/doc contains the Qt documentation in html format.
    It contains its own README; please read it.
It will also create two new files in existing directories:
 - /usr/local/bin/moc is the Meta Object Compiler (essential to Qt
    development).
 - /usr/local/man/man1/moc.1 is the moc manual page.

It is probably a very bad idea to put all this in /usr: Some libc upgrades
recommend deleting all the files in /usr/include.


5.  If you choose strange directories, you need to make sure that
moc is in $PATH, that gcc will find the include files and ld will
find libqt, and if you use ELF, that ld-linux.so will find
libqt.so.  LD reads the directories named in -L arguments, then the
directories in $LIBRARY_PATH, then the standard directories.  ld.so
reads the directories in $LD_LIBRARY_PATH, then the standard
directories.


That is all.  Congratulations, you have installed Qt version 0.91b!
You may now read the README files in ..../lib/qt/examples and
..../lib/qt/doc, and write your first Qt application.
