summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/link_pkgconfig.prf
blob: 4c528aa2516d9340918f3c0d3d490bf91bbbf516 (plain)
1
2
3
4
5
6
# 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)
}