quazip.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --- OpenBoard-1.6.0a/plugins/cffadaptor/UBCFFAdaptor.pro.orig 2020-04-07 08:26:29.240677360 +0700
  2. +++ OpenBoard-1.6.0a/plugins/cffadaptor/UBCFFAdaptor.pro 2020-04-07 08:27:03.695993158 +0700
  3. @@ -39,7 +39,7 @@
  4. QMAKE_POST_LINK += bash postScript_mac.sh "$$DESTDIR" "$$SANKORE_DIR/$$BUILD_DIR/product/Open-Sankore.app/Contents/MacOS"
  5. }
  6. -LIBS += "-L$$THIRD_PARTY_PATH/quazip/lib/$$SUB_DIR" "-lquazip"
  7. +LIBS += "-lquazip1-qt5"
  8. QT += xml xmlpatterns core
  9. QT += gui
  10. @@ -51,10 +51,7 @@
  11. INCLUDEPATH += src
  12. -DEPENDPATH += $$THIRD_PARTY_PATH/quazip/
  13. -INCLUDEPATH += $$THIRD_PARTY_PATH/quazip/
  14. -include($$THIRD_PARTY_PATH/quazip/quazip.pri)
  15. -
  16. +INCLUDEPATH += /usr/include/QuaZip-Qt5-1.1/quazip/
  17. SOURCES += \
  18. src/UBCFFAdaptor.cpp
  19. @@ -66,4 +63,4 @@
  20. src/UBCFFConstants.h
  21. RESOURCES += \
  22. - resources/resources.qrc
  23. \ No newline at end of file
  24. + resources/resources.qrc
  25. --- OpenBoard-1.6.0a3/OpenBoard.pro.orig 2020-07-20 08:23:09.859918480 +0700
  26. +++ OpenBoard-1.6.0a3/OpenBoard.pro 2020-07-20 08:23:17.762002419 +0700
  27. @@ -434,7 +434,7 @@
  28. #LIBS += -lprofiler
  29. LIBS += -lX11
  30. LIBS += -lquazip5
  31. - INCLUDEPATH += "/usr/include/quazip"
  32. + INCLUDEPATH += "/usr/include/QuaZip-Qt5-1.1/quazip"
  33. LIBS += -lpoppler
  34. INCLUDEPATH += "/usr/include/poppler"