diff --git diffpdf.pro.orig diffpdf.pro index 24db88f..12f2f9a 100644 --- diffpdf.pro.orig +++ diffpdf.pro @@ -31,31 +31,13 @@ TRANSLATIONS += diffpdf_fr.ts TRANSLATIONS += diffpdf_de.ts TRANSLATIONS += diffpdf_es.ts CODECFORTR = UTF-8 -LIBS += -lpoppler-qt4 +LIBS += -L@@PREFIX@@/libexec/poppler-qt4-mac/lib -lpoppler-qt4 win32 { CONFIG += release } -exists($(HOME)/opt/poppler024/) { - message(Using locally built Poppler library) - INCLUDEPATH += $(HOME)/opt/poppler024/include/poppler/cpp - INCLUDEPATH += $(HOME)/opt/poppler024/include/poppler/qt4 - LIBS += -Wl,-rpath -Wl,$(HOME)/opt/poppler024/lib -L$(HOME)/opt/poppler024/lib -} else { - exists(/poppler_lib) { - message(Using locally built Poppler library on Windows) - INCLUDEPATH += /c/poppler_lib/include/poppler/cpp - INCLUDEPATH += /c/poppler_lib/include/poppler/qt4 - LIBS += -Wl,-rpath -Wl,/c/poppler_lib/bin -Wl,-L/c/poppler_lib/bin - } else { - exists(/usr/include/poppler/qt4) { - INCLUDEPATH += /usr/include/poppler/cpp - INCLUDEPATH += /usr/include/poppler/qt4 - } else { - INCLUDEPATH += /usr/local/include/poppler/cpp - INCLUDEPATH += /usr/local/include/poppler/qt4 - } - } -} +INCLUDEPATH += @@PREFIX@@/libexec/poppler-qt4-mac/include/poppler/cpp +INCLUDEPATH += @@PREFIX@@/libexec/poppler-qt4-mac/include/poppler/qt4 +ICON = @@ICON@@ #exists($(HOME)/opt/podofo09/) { # message(Using locally built PoDoFo library) # INCLUDEPATH += $(HOME)/opt/podofo09/include/poppler/cpp