If you are planning to install QVision on an Ubuntu or Debian system, you can directly install the following packages using apt-get, synaptic, or adept package managers (or similar packaging system):
Also, some Ubuntu systems may need to install package g++, needed for Qt to compile.
http://forja.rediris.es/frs/?group_id=321
# tar xzvf QVision.<version>.tgz
Then you should copy the file QVision/config.pri.example to a file in the same directory, QVision, named config.pri. It has some performance and system configuration parameters inside used to compile QVision library. Change the content of the variables INSTALL_PATH, IPP_DIR, QWT_INCLUDE, QWT_LIB_DIRECTORY, and QWT_LIB_NAME, according to the specifications found in the config.pri.example file about them. They contain information about the location of the QWT and Intel's IPP libraries, and the install path for the QVision library.
Beside system and directories configuration, you can also tune performance and debugging options in the 'config.pri' file. You may uncomment the line
CONFIG += release
to compile a faster version of the library, or else the library will compile in debug mode, including debug and error checking at execution time code. You can also uncomment the line:
DEFINES += QT_NO_DEBUG_OUTPUT
if you don't want to be printed lots of debug information while the program is running when compiling in debug mode, that will heavily decrease the execution time.
# cd QVision # qmake # make
to compile the library. When compilation is done, you should install the library. There will be copied some files in the directory specified in the variable 'INSTALL_PATH'. If that route is in your home directory, or other place you have permissions to write, you should do the following:
# make install
or else you should use sudo console command, to copy the files as a super-user:
# sudo make install
to make the installation proceed. If you need to delete the installation, simply compile again, and use the following line:
# sudo make uninstall
it will erase QVision's library files from the directory where you installed it previously.