Home | Documentation | Download | Screenshots | Developper |
libQGLViewer can easily be installed on many architectures. It was tested on Linux (gcc version 2.96 and 3), SGI IRIX 6.5, Windows, Mac OS X and QNX. Let me know if you encountered problems that could be reported on this page or if you compiled it on another architecture.
libQGLViewer is distributed under the GNU-GPL licence and is provided as-is with no guarantee.
rpm -Uvh libQGLViewer-1.2.8-1.i586.rpm libQGLViewer-devel-1.2.8-1.i586.rpm
> tar -xzf libQGLViewer-1.2.8.tar.gz > cd libQGLViewer-1.2.8/src > qmake > makeIn case of compilation troubles, edit
config.h
and src.pro
.> qmake [INCLUDE_DIR=...] [LIB_DIR=...] > make installThe default install directories are
/usr/include/QGLViewer
and
/usr/lib
. The optionnal INCLUDE_DIR
and
LIB_DIR
parameters let you customize your installation and are
especially useful if you do not have root priviledges on your
machine. A typical usage would be: qmake LIB_DIR=$HOME/lib INCLUDE_DIR=$HOME/include
.
> cd ../examples > qmake > makeNote that once you installed the library, you may have to set the include and lib paths accordingly in the
.pro
files.
tcsh > setenv QTDIR /usr/lib/qt3 (/usr/share/qt on debian) bash > export QTDIR=/usr/lib/qt3 (/usr/share/qt on debian) > set PATH=${PATH}:${QTDIR}/bin/ > set LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${QTDIR}/libIf only the non-threaded version of Qt is installed on your machine (
libqt.so
instead
of libqt-mt.so
), simply remove thread
from src/src.pro
src
directory.src.pro
and config.h
.src.pro
to create
QGLViewer.dsp
.Release
setup)..pro
into .dsp
files.config.h
and src.pro
.> qmake INSTALL_ROOT=/usr/local > make install
If Qt is not installed on
your system, download the free Qt/Desktop
30 day evaluation version for Mac. Another option is to install X11 on your mac, and then to install
the Qt-X11 free edition. Some details will be available from here.