Automatically detect libappindicator support

This commit is contained in:
Oleg Shparber
2015-01-22 15:57:50 -08:00
parent 822cd9cb86
commit 53afd2b0aa
+2 -8
View File
@@ -12,14 +12,8 @@ unix:!macx {
QMAKE_DEL_DIR = rmdir --ignore-fail-on-non-empty
# TODO: Detect libappindicator automatically
appindicator {
PKGCONFIG += gtk+-2.0
INCLUDEPATH += /usr/include/libappindicator-0.1 \
/usr/include/gtk-2.0 \
/usr/lib/gtk-2.0/include
LIBS += -lappindicator
packagesExist(appindicator) {
PKGCONFIG += appindicator
DEFINES += USE_LIBAPPINDICATOR
}
}