mkspecs/features/link_pkgconfig.prf
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 00:43:10 +0200
changeset 3 41300fa6a67c
parent 0 1918ee327afb
permissions -rw-r--r--
Revision: 201003 Kit: 201005

# handle pkg-config files
for(PKGCONFIG_LIB, $$list($$unique(PKGCONFIG))) {
    QMAKE_CXXFLAGS += $$system(pkg-config --cflags $$PKGCONFIG_LIB)
    QMAKE_CFLAGS += $$system(pkg-config --cflags $$PKGCONFIG_LIB)
    LIBS += $$system(pkg-config --libs $$PKGCONFIG_LIB)
}