mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Fix the include paths for prebuilt pdfium
This commit is contained in:
parent
d989e06c57
commit
10b6f72e4a
@ -51,6 +51,6 @@ cp README.txt "${dest}/"
|
|||||||
echo "Creating dmg package"
|
echo "Creating dmg package"
|
||||||
#tar -czf "${dest}".tar.gz "${dest}"
|
#tar -czf "${dest}".tar.gz "${dest}"
|
||||||
#hdiutil create "${dest}".dmg -srcfolder "./${dest}" -ov
|
#hdiutil create "${dest}".dmg -srcfolder "./${dest}" -ov
|
||||||
dependencies/create-dmg/create-dmg --volname 'YACReader '$VERSION' Installer' --volicon icon.icns --window-size 600 403 --icon-size 128 --app-drop-link 485 90 --background background.png --icon YACReader 80 90 --icon YACReaderLibrary 235 90 --eula COPYING.txt --icon YACReaderLibraryServer 470 295 --icon README.txt 120 295 --icon COPYING.txt 290 295 "${dest}.dmg" "${dest}"
|
./dependencies/create-dmg/create-dmg --volname "YACReader $VERSION Installer" --volicon icon.icns --window-size 600 403 --icon-size 128 --app-drop-link 485 90 --background background.png --icon YACReader 80 90 --icon YACReaderLibrary 235 90 --eula COPYING.txt --icon YACReaderLibraryServer 470 295 --icon README.txt 120 295 --icon COPYING.txt 290 295 "$dest.dmg" "$dest"
|
||||||
|
|
||||||
echo "Done!"
|
echo "Done!"
|
||||||
|
@ -42,5 +42,5 @@ unix:!macx:!CONFIG(poppler):!CONFIG(pdfium) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
macx:!CONFIG(pdfkit):!CONFIG(pdfium) {
|
macx:!CONFIG(pdfkit):!CONFIG(pdfium) {
|
||||||
CONFIG += pdfkit
|
CONFIG += pdfium
|
||||||
}
|
}
|
||||||
|
8
dependencies/pdf_backend.pri
vendored
8
dependencies/pdf_backend.pri
vendored
@ -8,15 +8,15 @@ CONFIG(pdfium) {
|
|||||||
win32 {
|
win32 {
|
||||||
INCLUDEPATH += ../dependencies/pdfium/win/public
|
INCLUDEPATH += ../dependencies/pdfium/win/public
|
||||||
contains(QMAKE_TARGET.arch, x86_64): {
|
contains(QMAKE_TARGET.arch, x86_64): {
|
||||||
LIBS += -L$$PWD/../dependencies/pdfium/win/x64 -lpdfium
|
LIBS += -L$$PWD/pdfium/win/x64 -lpdfium
|
||||||
} else {
|
} else {
|
||||||
LIBS += -L$$PWD/../dependencies/pdfium/win/x86 -lpdfium
|
LIBS += -L$$PWD/pdfium/win/x86 -lpdfium
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
unix {
|
unix {
|
||||||
macx {
|
macx {
|
||||||
LIBS += -L$$PWD/../dependencies/pdfium/macx/bin -lpdfium
|
LIBS += -L$$PWD/pdfium/macx/bin -lpdfium
|
||||||
INCLUDEPATH += $$PWD/../dependencies/pdfium/macx/public
|
INCLUDEPATH += $$PWD/pdfium/macx/include
|
||||||
}
|
}
|
||||||
!macx {
|
!macx {
|
||||||
INCLUDEPATH += /usr/include/pdfium
|
INCLUDEPATH += /usr/include/pdfium
|
||||||
|
Loading…
x
Reference in New Issue
Block a user