mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
add 64bit build support for pdfium on windows
This commit is contained in:
parent
e0ccb3bf50
commit
625b0967e5
@ -54,8 +54,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"
|
||||
|
@ -37,15 +37,18 @@ win32 {
|
||||
LIBS += -L../dependencies/poppler/lib -loleaut32 -lole32 -lshell32 -lopengl32 -lglu32 -luser32
|
||||
}
|
||||
|
||||
#TODO: pdfium for windows support
|
||||
!CONFIG(no_pdf) {
|
||||
!CONFIG(pdfium) {
|
||||
LIBS += -lpoppler-qt5
|
||||
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"
|
||||
|
@ -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"
|
||||
|
BIN
dependencies/pdfium/x64/pdfium.dll
vendored
BIN
dependencies/pdfium/x64/pdfium.dll
vendored
Binary file not shown.
BIN
dependencies/pdfium/x64/pdfium.lib
vendored
BIN
dependencies/pdfium/x64/pdfium.lib
vendored
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user