mirror of
https://github.com/YACReader/yacreader
synced 2025-07-22 23:15:14 -04:00
Fix compilation with pdfium on windows
This commit is contained in:
@ -54,8 +54,8 @@ win32 {
|
||||
INCLUDEPATH += ../dependencies/poppler/include/qt5
|
||||
} else {
|
||||
DEFINES += "USE_PDFIUM"
|
||||
LIBS += -L../dependencies/pdfium/x86 -lpdfium
|
||||
INCLUDEPATH += ../dependencies/pdfium/public
|
||||
LIBS += -L$$PWD../dependencies/pdfium/x86 -lpdfium
|
||||
INCLUDEPATH += $$PWD../dependencies/pdfium/public
|
||||
}
|
||||
} else {
|
||||
DEFINES += "NO_PDF"
|
||||
@ -208,6 +208,10 @@ SOURCES += ../common/comic.cpp \
|
||||
../common/scroll_management.cpp \
|
||||
../common/opengl_checker.cpp
|
||||
|
||||
CONFIG(pdfium) {
|
||||
SOURCES+= ../common/pdf_comic.cpp
|
||||
}
|
||||
|
||||
!CONFIG(no_opengl) {
|
||||
CONFIG(legacy_gl_widget) {
|
||||
message("using legacy YACReaderFlowGL (QGLWidget) source code")
|
||||
|
Reference in New Issue
Block a user