Add qmake support for pdfium on windows

This commit is contained in:
Felix Kauselmann 2017-02-04 16:15:57 +01:00
parent c47b3781bc
commit e452cc9a6d
2 changed files with 16 additions and 4 deletions

View File

@ -49,8 +49,14 @@ win32 {
}
!CONFIG(no_pdf) {
LIBS += -lpoppler-qt5
INCLUDEPATH += ../dependencies/poppler/include/qt5
!CONFIG(pdfium) {
LIBS += -lpoppler-qt5
INCLUDEPATH += ../dependencies/poppler/include/qt5
} else {
DEFINES += "USE_PDFIUM"
LIBS += -L../dependencies/pdfium/x86 -lpdfium
INCLUDEPATH += ../dependencies/pdfium/public
}
} else {
DEFINES += "NO_PDF"
}

View File

@ -39,8 +39,14 @@ win32 {
#TODO: pdfium for windows support
!CONFIG(no_pdf) {
LIBS += -lpoppler-qt5
INCLUDEPATH += ../dependencies/poppler/include/qt5
!CONFIG(pdfium) {
LIBS += -lpoppler-qt5
INCLUDEPATH += ../dependencies/poppler/include/qt5
} else {
DEFINES += "USE_PDFIUM"
LIBS += -L../dependencies/pdfium/x86 -lpdfium
INCLUDEPATH += ../dependencies/pdfium/public
}
} else {
DEFINES += "NO_PDF"
}