You must set some environment variables in .profile or .login, depending
on your shell.
QTDIR - wherever you installed Qt
PATH - to locate the moc program
LD_LIBRARY_PATH - for the shared Qt library
LIBRARY_PATH - contains library file path
CPLUS_INCLUDE_PATH - contains C++ include file path
In case your shell is bash, ksh, zsh or sh:
in /etc/.profile you must have some lines like theese:
QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
LIBRARY_PATH=$LD_LIBRARY_PATH
CPLUS_INCLUDE_PATH=$QTDIR/include:$CPLUS_INCLUDE_PATH
export QTDIR PATH LD_LIBRARY_PATH LIBRARY_PATH
export CPLUS_INCLUDE_PATH
You can also put a reference to the qt library in /etc/ld.so.conf:
Add to your /etc/ld.so.conf a line like this:
/usr/local/qt/lib
Then you must run /sbin/ldconfig
as root
Now you can extract and compile WMFinder:
tar xvfz wmfinder.tar.gz
cd wmfinder
./configure
make
make install
wmfinder.inst
wmfinder.inst will create the directories needed by WMFinder and will copy all
the pixmaps and the configuration files.