% ./configure % perl automoc % make % make install
For 0.85 and later
% ./autogen.sh % ./configure % make all % make install
If you run into problems, you may want to look at these more detailed instructions,
1) Install and compile Qt V 2.x This is available from http://www.troll.no
2) Set the environment variable QTDIR to your Qt v2 source directory
for example (if your shell is bash) if your Qt source is in /usr/local/qt2,
type :
export QTDIR=/usr/local/qt2
You may need to add this in your .profile , .bash_profile or .bashrc
file
as well. QtEZ has traditionally used $QTDIR to find the Qt source headers.
3) From the QtEZ source directory type
For 0.83 and earlier
./configure
perl automoc
make
make install
For 0.85 and later./autogen.sh
For a non-default $QTEZ location use:
./configure --prefix=DIR
where DIR is the location of your $QTEZ directory (see next
section)
*** The following mirrors what 'make install' does. It is included here
to help those without
root access to the system they use. ***
4) Since QtEZ v 0.80.x, important files needed by QtEZ have been stored
in
a directory identified by the QTEZ environment variable. These files
are
located in the template subdirectory of the QtEZ source directory.
The default location for QTEZ is /usr/local/share/qtez. or /usr/local/qtez
depending on the version of QtEZ. If this doesn't exist on your
system and you have root access,
you should create it. Otherwise you will have to create a directory
where you
have read/write access and point QTEZ to that directory.
So, for the default location, from the QtEZ source directory type
mkdir /usr/local/share/qtez
export QTEZ=/usr/local/share/qtez
cp template/* /usr/local/share/qtez -r
If you wanted to use ~/qtez for your $QTEZ location, you would type
mkdir ~/qtez
export QTEZ=~/qtez
cp template/* ~/qtez -r
5) It is important that the file "automoc" found in the template directory
be in your path. You can create a symbolic link, or copy it to a directory
in your path, like /usr/local/bin or /usr/bin.
It is also important that the first line of that file point to the
correct
location of your perl executable. It defaults to :
#!/usr/local/bin/perl
If on your system perl is located in /usr/bin, change this line to :
#!/usr/bin/perl
6) Run QtEZ to make sure everything is configured correctly. There are
numerous messages that will warn you if something is not correct.
Hopefully the instructions above will be enough to keep you from ever
seeing these messages. If you do see one however, there should be enough
information to help you fix the problem. To run qtez, from an Xterminal
type
qtez &
If this fails because it can't find qtez, then your path isn't set to
look where qtez was installed. Either link qtez to a location in your
PATH variable, change your $PATH to include it's location or just run
it from the src directory. For example, from the source directory type:
src/qtez &
6) That should get you to where you can run QtEZ. We hope you will have
great success using QtEZ and if you find bugs please report them to
the
maintainer of the distribution you are using.