add 64bit build support for pdfium on windows

This commit is contained in:
Felix Kauselmann
2017-02-14 12:09:27 +01:00
parent e0ccb3bf50
commit 625b0967e5
5 changed files with 18 additions and 7 deletions

View File

@ -25,8 +25,12 @@ win32 {
INCLUDEPATH += ../dependencies/poppler/include/qt5
} else {
DEFINES += "USE_PDFIUM"
LIBS += -L$$PWD../dependencies/pdfium/x86 -lpdfium
INCLUDEPATH += $$PWD../dependencies/pdfium/public
contains(QMAKE_TARGET.arch, x86_64): {
LIBS += -L$$PWD/../dependencies/pdfium/x64 -lpdfium
} else {
LIBS += -L$$PWD/../dependencies/pdfium/x86 -lpdfium
}
INCLUDEPATH += ../dependencies/pdfium/public
}
} else {
DEFINES += "NO_PDF"