openPilotLog.pro 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. QT += core gui sql network
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. CONFIG += c++1z
  4. # The following define makes your compiler emit warnings if you use
  5. # any Qt feature that has been marked deprecated (the exact warnings
  6. # depend on your compiler). Please consult the documentation of the
  7. # deprecated API in order to know how to port your code away from it.
  8. DEFINES += QT_DEPRECATED_WARNINGS
  9. # You can also make your code fail to compile if it uses deprecated APIs.
  10. # In order to do so, uncomment the following line.
  11. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  12. DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  13. DEFINES *= QT_USE_QSTRINGBUILDER
  14. # [G]: need to fix this. There must be a src/* command or smth
  15. SOURCES += \
  16. main.cpp \
  17. mainwindow.cpp \
  18. src/classes/acurrencyentry.cpp \
  19. src/classes/astyle.cpp \
  20. src/classes/astandardpaths.cpp \
  21. src/classes/aaircraftentry.cpp \
  22. src/classes/adownload.cpp \
  23. src/classes/aentry.cpp \
  24. src/classes/aflightentry.cpp \
  25. src/classes/apilotentry.cpp \
  26. src/classes/arunguard.cpp \
  27. src/classes/asettings.cpp \
  28. src/classes/atailentry.cpp \
  29. src/classes/atranslator.cpp \
  30. src/classes/ajson.cpp \
  31. src/classes/ahash.cpp \
  32. src/database/adatabase.cpp \
  33. src/database/adatabasesetup.cpp \
  34. src/database/adbsetup.cpp \
  35. src/functions/acalc.cpp \
  36. src/functions/alog.cpp \
  37. src/functions/areadcsv.cpp \
  38. src/functions/astat.cpp \
  39. src/functions/adate.cpp \
  40. src/gui/dialogues/firstrundialog.cpp \
  41. src/gui/dialogues/newflightdialog.cpp \
  42. src/gui/dialogues/newpilotdialog.cpp \
  43. src/gui/dialogues/newtaildialog.cpp \
  44. src/gui/widgets/aircraftwidget.cpp \
  45. src/gui/widgets/backupwidget.cpp \
  46. src/gui/widgets/debugwidget.cpp \
  47. src/gui/widgets/homewidget.cpp \
  48. src/gui/widgets/logbookwidget.cpp \
  49. src/gui/widgets/pilotswidget.cpp \
  50. src/gui/widgets/settingswidget.cpp \
  51. src/testing/atimer.cpp
  52. HEADERS += \
  53. mainwindow.h \
  54. src/opl.h \
  55. src/classes/acurrencyentry.h \
  56. src/classes/astyle.h \
  57. src/classes/astandardpaths.h \
  58. src/classes/aaircraftentry.h \
  59. src/classes/adownload.h \
  60. src/classes/aentry.h \
  61. src/classes/aflightentry.h \
  62. src/classes/apilotentry.h \
  63. src/classes/arunguard.h \
  64. src/classes/asettings.h \
  65. src/classes/atailentry.h \
  66. src/database/adatabase.h \
  67. src/classes/atranslator.h \
  68. src/classes/ajson.h \
  69. src/classes/ahash.h \
  70. src/database/adatabasesetup.h \
  71. src/database/adbsetup.h \
  72. src/database/adatabasetypes.h \
  73. src/functions/acalc.h \
  74. src/functions/adatetime.h \
  75. src/functions/alog.h \
  76. src/functions/areadcsv.h \
  77. src/functions/astat.h \
  78. src/functions/adate.h \
  79. src/functions/atime.h \
  80. src/gui/dialogues/firstrundialog.h \
  81. src/gui/dialogues/newflightdialog.h \
  82. src/gui/dialogues/newpilotdialog.h \
  83. src/gui/dialogues/newtaildialog.h \
  84. src/gui/widgets/aircraftwidget.h \
  85. src/gui/widgets/backupwidget.h \
  86. src/gui/widgets/debugwidget.h \
  87. src/gui/widgets/homewidget.h \
  88. src/gui/widgets/logbookwidget.h \
  89. src/gui/widgets/pilotswidget.h \
  90. src/gui/widgets/settingswidget.h \
  91. src/testing/atimer.h \
  92. FORMS += \
  93. mainwindow.ui \
  94. src/gui/dialogues/firstrundialog.ui \
  95. src/gui/dialogues/newflight.ui \
  96. src/gui/dialogues/newpilot.ui \
  97. src/gui/dialogues/newtail.ui \
  98. src/gui/widgets/aircraftwidget.ui \
  99. src/gui/widgets/backupwidget.ui \
  100. src/gui/widgets/debugwidget.ui \
  101. src/gui/widgets/homewidget.ui \
  102. src/gui/widgets/logbookwidget.ui \
  103. src/gui/widgets/pilotswidget.ui \
  104. src/gui/widgets/settingswidget.ui
  105. TRANSLATIONS = \
  106. l10n/openpilotlog_main.ts \
  107. l10n/openpilotlog_de.ts \
  108. l10n/openpilotlog_es.ts
  109. # Default rules for deployment.
  110. qnx: target.path = /tmp/$${TARGET}/bin
  111. else: unix:!android: target.path = /opt/$${TARGET}/bin
  112. !isEmpty(target.path): INSTALLS += target
  113. RESOURCES += \
  114. assets/icons.qrc \
  115. assets/templates.qrc \
  116. assets/themes/stylesheets/breeze/breeze.qrc \
  117. assets/themes/stylesheets/qdarkstyle/qdarkstyle.qrc
  118. DISTFILES += \
  119. assets/themes/dark.qss \
  120. assets/themes/dark/branch_closed-on.svg \
  121. assets/themes/dark/branch_closed.svg \
  122. assets/themes/dark/branch_open-on.svg \
  123. assets/themes/dark/branch_open.svg \
  124. assets/themes/dark/checkbox_checked.svg \
  125. assets/themes/dark/checkbox_checked_disabled.svg \
  126. assets/themes/dark/checkbox_indeterminate.svg \
  127. assets/themes/dark/checkbox_indeterminate_disabled.svg \
  128. assets/themes/dark/checkbox_unchecked.svg \
  129. assets/themes/dark/checkbox_unchecked_disabled.svg \
  130. assets/themes/dark/close-hover.svg \
  131. assets/themes/dark/close-pressed.svg \
  132. assets/themes/dark/close.svg \
  133. assets/themes/dark/down_arrow-hover.svg \
  134. assets/themes/dark/down_arrow.svg \
  135. assets/themes/dark/down_arrow_disabled.svg \
  136. assets/themes/dark/hmovetoolbar.svg \
  137. assets/themes/dark/hsepartoolbar.svg \
  138. assets/themes/dark/left_arrow.svg \
  139. assets/themes/dark/left_arrow_disabled.svg \
  140. assets/themes/dark/radio_checked.svg \
  141. assets/themes/dark/radio_checked_disabled.svg \
  142. assets/themes/dark/radio_unchecked.svg \
  143. assets/themes/dark/radio_unchecked_disabled.svg \
  144. assets/themes/dark/right_arrow.svg \
  145. assets/themes/dark/right_arrow_disabled.svg \
  146. assets/themes/dark/sizegrip.svg \
  147. assets/themes/dark/spinup_disabled.svg \
  148. assets/themes/dark/stylesheet-branch-end-closed.svg \
  149. assets/themes/dark/stylesheet-branch-end-open.svg \
  150. assets/themes/dark/stylesheet-branch-end.svg \
  151. assets/themes/dark/stylesheet-branch-more.svg \
  152. assets/themes/dark/stylesheet-vline.svg \
  153. assets/themes/dark/transparent.svg \
  154. assets/themes/dark/undock-hover.svg \
  155. assets/themes/dark/undock.svg \
  156. assets/themes/dark/up_arrow-hover.svg \
  157. assets/themes/dark/up_arrow.svg \
  158. assets/themes/dark/up_arrow_disabled.svg \
  159. assets/themes/dark/vmovetoolbar.svg \
  160. assets/themes/dark/vsepartoolbars.svg \
  161. assets/themes/dark_original.qss \
  162. assets/themes/light.qss \
  163. assets/themes/light/branch_closed-on.svg \
  164. assets/themes/light/branch_closed.svg \
  165. assets/themes/light/branch_open-on.svg \
  166. assets/themes/light/branch_open.svg \
  167. assets/themes/light/checkbox_checked-hover.svg \
  168. assets/themes/light/checkbox_checked.svg \
  169. assets/themes/light/checkbox_checked_disabled.svg \
  170. assets/themes/light/checkbox_indeterminate-hover.svg \
  171. assets/themes/light/checkbox_indeterminate.svg \
  172. assets/themes/light/checkbox_indeterminate_disabled.svg \
  173. assets/themes/light/checkbox_unchecked-hover.svg \
  174. assets/themes/light/checkbox_unchecked_disabled.svg \
  175. assets/themes/light/close-hover.svg \
  176. assets/themes/light/close-pressed.svg \
  177. assets/themes/light/close.svg \
  178. assets/themes/light/down_arrow-hover.svg \
  179. assets/themes/light/down_arrow.svg \
  180. assets/themes/light/down_arrow_disabled.svg \
  181. assets/themes/light/hmovetoolbar.svg \
  182. assets/themes/light/hsepartoolbar.svg \
  183. assets/themes/light/left_arrow.svg \
  184. assets/themes/light/left_arrow_disabled.svg \
  185. assets/themes/light/radio_checked-hover.svg \
  186. assets/themes/light/radio_checked.svg \
  187. assets/themes/light/radio_checked_disabled.svg \
  188. assets/themes/light/radio_unchecked-hover.svg \
  189. assets/themes/light/radio_unchecked_disabled.svg \
  190. assets/themes/light/right_arrow.svg \
  191. assets/themes/light/right_arrow_disabled.svg \
  192. assets/themes/light/sizegrip.svg \
  193. assets/themes/light/spinup_disabled.svg \
  194. assets/themes/light/stylesheet-branch-end-closed.svg \
  195. assets/themes/light/stylesheet-branch-end-open.svg \
  196. assets/themes/light/stylesheet-branch-end.svg \
  197. assets/themes/light/stylesheet-branch-more.svg \
  198. assets/themes/light/stylesheet-vline.svg \
  199. assets/themes/light/transparent.svg \
  200. assets/themes/light/undock-hover.svg \
  201. assets/themes/light/undock.svg \
  202. assets/themes/light/up_arrow-hover.svg \
  203. assets/themes/light/up_arrow.svg \
  204. assets/themes/light/up_arrow_disabled.svg \
  205. assets/themes/light/vmovetoolbar.svg \
  206. assets/themes/light/vsepartoolbars.svg \
  207. assets/themes/light_original.qss \
  208. assets/themes/theme_license