# This file is intended replacement for Qt's link_pkgconfig for(PACKAGE, $$list($$unique(PKGCONFIG))) { system(pkg-config --exists $$PACKAGE) { CONFIG += $$PACKAGE } } QMAKE_CXXFLAGS += $$system(pkg-config --cflags $$PKGCONFIG) QMAKE_CFLAGS += $$system(pkg-config --cflags $$PKGCONFIG) LIBS += $$system(pkg-config --libs $$PKGCONFIG)