Reference

qgis-config(1)

returns information about installed qgis libraries and binaries

NAME

qgis-config - returns information about installed qgis libraries and binaries

SYNOPSIS

qgis-config [OPTIONS]

DESCRIPTION

The qgis-config shell script is designed to retrieve the configuration information about the libraries and binaries dealing with QGIS

OPTIONS

--cflags

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 help, then exit