|
What is the full path to my QGIS install? |
{mos_sb_discuss:2}What is the full path to my QGIS install?
The full path to your QGIS install may be needed when compiling external plugins or manually installing custom icon themes. The path depends on how you built and/or installed QGIS.
- If you configure QGIS using ./configure with no options, the default path will be /usr/local
- If you specify --prefix= when configuring QGIS, your path will be what you specified. For example, using ./configure --prefix=/opt/myapps means that the full path to the install will be /opt/myapps
- If you installed from an rpm, the full path will be /usr
You can determine the prefix for a QGIS install using the qgis_config. The qgis_config tool is built and installed along with QGIS and can provide the following information:
Usage:
qgis_config OPTION...
Options:
--prefix print the prefix used by qgis
--bindir print destination of executable(s)
--cflags print the compiler flags that are necessary to
compile a plug-inshow location of C++ header files
--libs print the linker flags that are necessary to link a
plug-in
--plugindir print the path where the plugins are installed
--major_version print major version of qgis
--minor_version print minor version of qgis
--micro_version print micro version of qgis
--extra_version print extra version of qgis
--help show this help, then exit
|