mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Cosmetic changes to make pdf flags look nicer in the .pro files
This commit is contained in:
parent
9b726f719b
commit
cea9933cc2
@ -48,11 +48,11 @@ win32 {
|
||||
} else {
|
||||
LIBS += -L../dependencies/poppler/lib -loleaut32 -lole32 -lshell32 -lopengl32 -lglu32 -luser32
|
||||
}
|
||||
|
||||
!CONFIG(no_pdf) {
|
||||
LIBS += -lpoppler-qt5
|
||||
INCLUDEPATH += ../dependencies/poppler/include/qt5
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
DEFINES += "NO_PDF"
|
||||
}
|
||||
|
||||
@ -75,10 +75,9 @@ unix:!macx{
|
||||
-lfx_zlib -lfdrm -lfxedit -lformfiller -lpdfwindow -lpdfium -lbigint -ljavascript \
|
||||
-lfxedit -Wl,--end-group -lfreetype
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
DEFINES += "NO_PDF"
|
||||
}
|
||||
}
|
||||
|
||||
!CONFIG(no_opengl) {
|
||||
LIBS += -lGLU
|
||||
@ -99,10 +98,9 @@ macx{
|
||||
|
||||
#TODO: pdfium support
|
||||
!CONFIG(no_pdf) {
|
||||
DEFINES += "USE_PDFKIT"
|
||||
}
|
||||
else {
|
||||
DEFINES += "NO_PDF"
|
||||
DEFINES += "USE_PDFKIT"
|
||||
} else {
|
||||
DEFINES += "NO_PDF"
|
||||
}
|
||||
|
||||
CONFIG += objective_c
|
||||
|
@ -36,14 +36,15 @@ win32 {
|
||||
} else {
|
||||
LIBS += -L../dependencies/poppler/lib -loleaut32 -lole32 -lshell32 -lopengl32 -lglu32 -luser32
|
||||
}
|
||||
|
||||
#TODO: pdfium for windows support
|
||||
!CONFIG(no_pdf) {
|
||||
LIBS += -lpoppler-qt5
|
||||
INCLUDEPATH += ../dependencies/poppler/include/qt5
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
DEFINES += "NO_PDF"
|
||||
}
|
||||
#TODO: pdfium for windows support
|
||||
|
||||
QMAKE_CXXFLAGS_RELEASE += /MP /Ob2 /Oi /Ot /GT /GL
|
||||
QMAKE_LFLAGS_RELEASE += /LTCG
|
||||
CONFIG -= embed_manifest_exe
|
||||
@ -63,8 +64,7 @@ unix:!macx{
|
||||
-lfx_zlib -lfdrm -lfxedit -lformfiller -lpdfwindow -lpdfium -lbigint -ljavascript \
|
||||
-lfxedit -Wl,--end-group -lfreetype
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
DEFINES += "NO_PDF"
|
||||
}
|
||||
|
||||
@ -88,10 +88,9 @@ macx{
|
||||
!CONFIG(no_pdf){
|
||||
#TODO:support for pdfium on mac
|
||||
DEFINES += "USE_PDFKIT"
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
DEFINES += "NO_PDF"
|
||||
}
|
||||
}
|
||||
|
||||
LIBS += -framework Foundation -framework ApplicationServices -framework AppKit
|
||||
|
||||
|
@ -22,8 +22,7 @@ win32 {
|
||||
!CONFIG(no_pdf) {
|
||||
LIBS += -lpoppler-qt5
|
||||
INCLUDEPATH += ../dependencies/poppler/include/qt5
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
DEFINES += "NO_PDF"
|
||||
}
|
||||
|
||||
@ -46,8 +45,7 @@ unix:!macx{
|
||||
-lfx_zlib -lfdrm -lfxedit -lformfiller -lpdfwindow -lpdfium -lbigint -ljavascript \
|
||||
-lfxedit -Wl,--end-group -lfreetype
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
DEFINES += "NO_PDF"
|
||||
}
|
||||
}
|
||||
@ -55,10 +53,9 @@ macx{
|
||||
|
||||
#TODO:support for pdfium on mac
|
||||
!CONFIG(no_pdf) {
|
||||
DEFINES += "USE_PDFKIT"
|
||||
}
|
||||
else {
|
||||
DEFINES += "NO_PDF"
|
||||
DEFINES += "USE_PDFKIT"
|
||||
} else {
|
||||
DEFINES += "NO_PDF"
|
||||
}
|
||||
|
||||
LIBS += -framework Foundation -framework ApplicationServices -framework AppKit
|
||||
|
Loading…
Reference in New Issue
Block a user