mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -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) {
|
!CONFIG(no_pdf) {
|
||||||
LIBS += -lpoppler-qt5
|
!CONFIG(pdfium) {
|
||||||
INCLUDEPATH += ../dependencies/poppler/include/qt5
|
LIBS += -lpoppler-qt5
|
||||||
|
INCLUDEPATH += ../dependencies/poppler/include/qt5
|
||||||
|
} else {
|
||||||
|
DEFINES += "USE_PDFIUM"
|
||||||
|
LIBS += -L../dependencies/pdfium/x86 -lpdfium
|
||||||
|
INCLUDEPATH += ../dependencies/pdfium/public
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
DEFINES += "NO_PDF"
|
DEFINES += "NO_PDF"
|
||||||
}
|
}
|
||||||
|
@ -39,8 +39,14 @@ win32 {
|
|||||||
|
|
||||||
#TODO: pdfium for windows support
|
#TODO: pdfium for windows support
|
||||||
!CONFIG(no_pdf) {
|
!CONFIG(no_pdf) {
|
||||||
LIBS += -lpoppler-qt5
|
!CONFIG(pdfium) {
|
||||||
INCLUDEPATH += ../dependencies/poppler/include/qt5
|
LIBS += -lpoppler-qt5
|
||||||
|
INCLUDEPATH += ../dependencies/poppler/include/qt5
|
||||||
|
} else {
|
||||||
|
DEFINES += "USE_PDFIUM"
|
||||||
|
LIBS += -L../dependencies/pdfium/x86 -lpdfium
|
||||||
|
INCLUDEPATH += ../dependencies/pdfium/public
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
DEFINES += "NO_PDF"
|
DEFINES += "NO_PDF"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user