mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 09:08:20 -04:00
Add qmake support for pdfium on windows
This commit is contained in:
parent
c47b3781bc
commit
e452cc9a6d
@ -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"
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user