kaqaz-1.2.0-unbundle-qtsingleapplication.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Use system copy of qtsingleapplication.
  2. --- sialantools/sialantools.pri
  3. +++ sialantools/sialantools.pri
  4. @@ -1,4 +1,5 @@
  5. QT += qml quick
  6. +CONFIG += qtsingleapplication
  7. android {
  8. manifest.source = android-build
  9. @@ -24,20 +25,10 @@
  10. HEADERS += \
  11. sialantools/sialanmimeapps.h \
  12. - sialantools/qtsingleapplication/qtsinglecoreapplication.h \
  13. - sialantools/qtsingleapplication/qtsingleapplication.h \
  14. - sialantools/qtsingleapplication/qtlockedfile.h \
  15. - sialantools/qtsingleapplication/qtlocalpeer.h
  16. SOURCES += \
  17. sialantools/sialanmimeapps.cpp \
  18. - sialantools/qtsingleapplication/qtsinglecoreapplication.cpp \
  19. - sialantools/qtsingleapplication/qtsingleapplication.cpp \
  20. - sialantools/qtsingleapplication/qtlockedfile.cpp \
  21. - sialantools/qtsingleapplication/qtlocalpeer.cpp
  22. - win32: SOURCES += sialantools/qtsingleapplication/qtlockedfile_win.cpp
  23. - unix: SOURCES += sialantools/qtsingleapplication/qtlockedfile_unix.cpp
  24. }
  25. }
  26. }
  27. --- sialantools/sialanapplication.h
  28. +++ sialantools/sialanapplication.h
  29. @@ -22,7 +22,7 @@
  30. #include "sialan_macros.h"
  31. #ifdef DESKTOP_DEVICE
  32. -#include "qtsingleapplication/qtsingleapplication.h"
  33. +#include "qtsingleapplication.h"
  34. class INHERIT_QAPP : public QtSingleApplication
  35. {
  36. public: