QSource-Highlight Code
Brought to you by:
lbettini
QSource-Highlight http://qsrchilite.sourceforge.net/ ---------------------------------------------- This is a simple front end for GNU Source-highlight that uses source-highlight-qt. To build it I suggest to create a separate directory, e.g., build cd there and run qmake -recursive ../qsource-highlight.pro make Once the building has sucessfully finished, you can install the files with the command make install; binaries will be installed into /bin and documentation (the one readable with qt assistant) into /share/doc/qsource-highlight and html documentation into /share/doc/qsource-highlight/html. You can customize the root of the installation directory with the environment variable INSTALL_ROOT; for instance, INSTALL_ROOT=$HOME/usr/local make install You might need to become root if you install in a path different from your home. Remember that you must have already installed the source-highlight-qt library. If you installed that in a standard place (e.g., /usr or in a system directory where ldconfig and pkg_config find it) then this should be enough. Otherwise you must specify the directory where pkg_config can find the file source-highlight-qt4.pc); for instance, if you installed source-higlight-qt library in ~/usr/local, then the .pc file will be in ~/usr/local/lib/pkgconfig and you'll need to use this directory for setting PKG_CONFIG_PATH, e.g., PKG_CONFIG_PATH=~/usr/local/lib/pkgconfig/ qmake -recursive ../qsource-highlight.pro make ------------------ Lorenzo Bettini http://www.lorenzobettini.it