mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Use dynamic pdfium library for linux builds. Keep static library parameters as comments for potential later usage.
This commit is contained in:
parent
ffba62f053
commit
372531083c
@ -76,13 +76,15 @@ unix:!macx{
|
|||||||
INCLUDEPATH += /usr/include/poppler/qt5
|
INCLUDEPATH += /usr/include/poppler/qt5
|
||||||
LIBS += -L/usr/lib -lpoppler-qt5
|
LIBS += -L/usr/lib -lpoppler-qt5
|
||||||
} else {
|
} else {
|
||||||
#static pdfium libraries have to be included *before* dynamic libraries
|
|
||||||
DEFINES += "USE_PDFIUM"
|
DEFINES += "USE_PDFIUM"
|
||||||
INCLUDEPATH += /usr/include/pdfium
|
INCLUDEPATH += /usr/include/pdfium
|
||||||
LIBS += -L/usr/lib/pdfium -Wl,--start-group -lpdfium -lfpdfapi -lfxge -lfpdfdoc \
|
LIBS += -L/usr/lib/pdfium -lpdfium -lfreetype
|
||||||
-lfxcrt -lfx_agg -lfxcodec -lfx_lpng -lfx_libopenjpeg -lfx_lcms2 -ljpeg \
|
|
||||||
-lfx_zlib -lfdrm -lfxedit -lformfiller -lpdfwindow -lpdfium -lbigint -ljavascript \
|
#static pdfium libraries have to be included *before* dynamic libraries
|
||||||
-lfxedit -Wl,--end-group -lfreetype
|
#LIBS += -L/usr/lib/pdfium -Wl,--start-group -lpdfium -lfpdfapi -lfxge -lfpdfdoc \
|
||||||
|
# -lfxcrt -lfx_agg -lfxcodec -lfx_lpng -lfx_libopenjpeg -lfx_lcms2 -ljpeg \
|
||||||
|
# -lfx_zlib -lfdrm -lfxedit -lformfiller -lpdfwindow -lpdfium -lbigint -ljavascript \
|
||||||
|
# -lfxedit -Wl,--end-group -lfreetype
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
DEFINES += "NO_PDF"
|
DEFINES += "NO_PDF"
|
||||||
|
@ -65,13 +65,15 @@ unix:!macx{
|
|||||||
INCLUDEPATH += /usr/include/poppler/qt5
|
INCLUDEPATH += /usr/include/poppler/qt5
|
||||||
LIBS += -L/usr/lib -lpoppler-qt5
|
LIBS += -L/usr/lib -lpoppler-qt5
|
||||||
} else {
|
} else {
|
||||||
#static pdfium libraries have to be included *before* dynamic libraries
|
|
||||||
DEFINES += "USE_PDFIUM"
|
DEFINES += "USE_PDFIUM"
|
||||||
INCLUDEPATH += /usr/include/pdfium
|
INCLUDEPATH += /usr/include/pdfium
|
||||||
LIBS += -L/usr/lib/pdfium -Wl,--start-group -lpdfium -lfpdfapi -lfxge -lfpdfdoc \
|
LIBS += -L/usr/lib/pdfium -lfreetype
|
||||||
-lfxcrt -lfx_agg -lfxcodec -lfx_lpng -lfx_libopenjpeg -lfx_lcms2 -ljpeg \
|
|
||||||
-lfx_zlib -lfdrm -lfxedit -lformfiller -lpdfwindow -lpdfium -lbigint -ljavascript \
|
#static pdfium libraries have to be included *before* dynamic libraries
|
||||||
-lfxedit -Wl,--end-group -lfreetype
|
#LIBS += -L/usr/lib/pdfium -Wl,--start-group -lpdfium -lfpdfapi -lfxge -lfpdfdoc \
|
||||||
|
# -lfxcrt -lfx_agg -lfxcodec -lfx_lpng -lfx_libopenjpeg -lfx_lcms2 -ljpeg \
|
||||||
|
# -lfx_zlib -lfdrm -lfxedit -lformfiller -lpdfwindow -lpdfium -lbigint -ljavascript \
|
||||||
|
# -lfxedit -Wl,--end-group -lfreetype
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
DEFINES += "NO_PDF"
|
DEFINES += "NO_PDF"
|
||||||
|
@ -50,10 +50,13 @@ unix:!macx{
|
|||||||
#static pdfium libraries have to be included *before* dynamic libraries
|
#static pdfium libraries have to be included *before* dynamic libraries
|
||||||
DEFINES += "USE_PDFIUM"
|
DEFINES += "USE_PDFIUM"
|
||||||
INCLUDEPATH += /usr/include/pdfium
|
INCLUDEPATH += /usr/include/pdfium
|
||||||
LIBS += -L/usr/lib/pdfium -Wl,--start-group -lpdfium -lfpdfapi -lfxge -lfpdfdoc \
|
LIBS += -L/usr/lib/pdfium -lfreetype
|
||||||
-lfxcrt -lfx_agg -lfxcodec -lfx_lpng -lfx_libopenjpeg -lfx_lcms2 -ljpeg \
|
|
||||||
-lfx_zlib -lfdrm -lfxedit -lformfiller -lpdfwindow -lpdfium -lbigint -ljavascript \
|
#static pdfium libraries have to be included *before* dynamic libraries
|
||||||
-lfxedit -Wl,--end-group -lfreetype
|
#LIBS += -L/usr/lib/pdfium -Wl,--start-group -lpdfium -lfpdfapi -lfxge -lfpdfdoc \
|
||||||
|
# -lfxcrt -lfx_agg -lfxcodec -lfx_lpng -lfx_libopenjpeg -lfx_lcms2 -ljpeg \
|
||||||
|
# -lfx_zlib -lfdrm -lfxedit -lformfiller -lpdfwindow -lpdfium -lbigint -ljavascript \
|
||||||
|
# -lfxedit -Wl,--end-group -lfreetype
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
DEFINES += "NO_PDF"
|
DEFINES += "NO_PDF"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user