2
0

openPilotLog.pro 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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/database/adatabase.cpp \
  30. src/database/adatabasesetup.cpp \
  31. src/functions/acalc.cpp \
  32. src/functions/alog.cpp \
  33. src/functions/areadcsv.cpp \
  34. src/functions/astat.cpp \
  35. src/gui/dialogues/firstrundialog.cpp \
  36. src/gui/dialogues/newflightdialog.cpp \
  37. src/gui/dialogues/newpilotdialog.cpp \
  38. src/gui/dialogues/newtaildialog.cpp \
  39. src/gui/widgets/aircraftwidget.cpp \
  40. src/gui/widgets/backupwidget.cpp \
  41. src/gui/widgets/debugwidget.cpp \
  42. src/gui/widgets/homewidget.cpp \
  43. src/gui/widgets/logbookwidget.cpp \
  44. src/gui/widgets/pilotswidget.cpp \
  45. src/gui/widgets/settingswidget.cpp \
  46. src/testing/atimer.cpp
  47. HEADERS += \
  48. mainwindow.h \
  49. src/opl.h \
  50. src/classes/acurrencyentry.h \
  51. src/classes/astyle.h \
  52. src/classes/astandardpaths.h \
  53. src/classes/aaircraftentry.h \
  54. src/classes/adownload.h \
  55. src/classes/aentry.h \
  56. src/classes/aflightentry.h \
  57. src/classes/apilotentry.h \
  58. src/classes/arunguard.h \
  59. src/classes/asettings.h \
  60. src/classes/atailentry.h \
  61. src/database/adatabase.h \
  62. src/database/adatabasesetup.h \
  63. src/database/adatabasetypes.h \
  64. src/functions/acalc.h \
  65. src/functions/adatetime.h \
  66. src/functions/alog.h \
  67. src/functions/areadcsv.h \
  68. src/functions/astat.h \
  69. src/functions/atime.h \
  70. src/gui/dialogues/firstrundialog.h \
  71. src/gui/dialogues/newflightdialog.h \
  72. src/gui/dialogues/newpilotdialog.h \
  73. src/gui/dialogues/newtaildialog.h \
  74. src/gui/widgets/aircraftwidget.h \
  75. src/gui/widgets/backupwidget.h \
  76. src/gui/widgets/debugwidget.h \
  77. src/gui/widgets/homewidget.h \
  78. src/gui/widgets/logbookwidget.h \
  79. src/gui/widgets/pilotswidget.h \
  80. src/gui/widgets/settingswidget.h \
  81. src/testing/atimer.h \
  82. FORMS += \
  83. mainwindow.ui \
  84. src/gui/dialogues/firstrundialog.ui \
  85. src/gui/dialogues/newflight.ui \
  86. src/gui/dialogues/newpilot.ui \
  87. src/gui/dialogues/newtail.ui \
  88. src/gui/widgets/aircraftwidget.ui \
  89. src/gui/widgets/backupwidget.ui \
  90. src/gui/widgets/debugwidget.ui \
  91. src/gui/widgets/homewidget.ui \
  92. src/gui/widgets/logbookwidget.ui \
  93. src/gui/widgets/pilotswidget.ui \
  94. src/gui/widgets/settingswidget.ui
  95. # Default rules for deployment.
  96. qnx: target.path = /tmp/$${TARGET}/bin
  97. else: unix:!android: target.path = /opt/$${TARGET}/bin
  98. !isEmpty(target.path): INSTALLS += target
  99. RESOURCES += \
  100. assets/icons.qrc \
  101. assets/templates.qrc \
  102. assets/themes/stylesheets/breeze/breeze.qrc \
  103. assets/themes/stylesheets/qdarkstyle/qdarkstyle.qrc
  104. DISTFILES += \
  105. assets/themes/dark.qss \
  106. assets/themes/dark/branch_closed-on.svg \
  107. assets/themes/dark/branch_closed.svg \
  108. assets/themes/dark/branch_open-on.svg \
  109. assets/themes/dark/branch_open.svg \
  110. assets/themes/dark/checkbox_checked.svg \
  111. assets/themes/dark/checkbox_checked_disabled.svg \
  112. assets/themes/dark/checkbox_indeterminate.svg \
  113. assets/themes/dark/checkbox_indeterminate_disabled.svg \
  114. assets/themes/dark/checkbox_unchecked.svg \
  115. assets/themes/dark/checkbox_unchecked_disabled.svg \
  116. assets/themes/dark/close-hover.svg \
  117. assets/themes/dark/close-pressed.svg \
  118. assets/themes/dark/close.svg \
  119. assets/themes/dark/down_arrow-hover.svg \
  120. assets/themes/dark/down_arrow.svg \
  121. assets/themes/dark/down_arrow_disabled.svg \
  122. assets/themes/dark/hmovetoolbar.svg \
  123. assets/themes/dark/hsepartoolbar.svg \
  124. assets/themes/dark/left_arrow.svg \
  125. assets/themes/dark/left_arrow_disabled.svg \
  126. assets/themes/dark/radio_checked.svg \
  127. assets/themes/dark/radio_checked_disabled.svg \
  128. assets/themes/dark/radio_unchecked.svg \
  129. assets/themes/dark/radio_unchecked_disabled.svg \
  130. assets/themes/dark/right_arrow.svg \
  131. assets/themes/dark/right_arrow_disabled.svg \
  132. assets/themes/dark/sizegrip.svg \
  133. assets/themes/dark/spinup_disabled.svg \
  134. assets/themes/dark/stylesheet-branch-end-closed.svg \
  135. assets/themes/dark/stylesheet-branch-end-open.svg \
  136. assets/themes/dark/stylesheet-branch-end.svg \
  137. assets/themes/dark/stylesheet-branch-more.svg \
  138. assets/themes/dark/stylesheet-vline.svg \
  139. assets/themes/dark/transparent.svg \
  140. assets/themes/dark/undock-hover.svg \
  141. assets/themes/dark/undock.svg \
  142. assets/themes/dark/up_arrow-hover.svg \
  143. assets/themes/dark/up_arrow.svg \
  144. assets/themes/dark/up_arrow_disabled.svg \
  145. assets/themes/dark/vmovetoolbar.svg \
  146. assets/themes/dark/vsepartoolbars.svg \
  147. assets/themes/dark_original.qss \
  148. assets/themes/light.qss \
  149. assets/themes/light/branch_closed-on.svg \
  150. assets/themes/light/branch_closed.svg \
  151. assets/themes/light/branch_open-on.svg \
  152. assets/themes/light/branch_open.svg \
  153. assets/themes/light/checkbox_checked-hover.svg \
  154. assets/themes/light/checkbox_checked.svg \
  155. assets/themes/light/checkbox_checked_disabled.svg \
  156. assets/themes/light/checkbox_indeterminate-hover.svg \
  157. assets/themes/light/checkbox_indeterminate.svg \
  158. assets/themes/light/checkbox_indeterminate_disabled.svg \
  159. assets/themes/light/checkbox_unchecked-hover.svg \
  160. assets/themes/light/checkbox_unchecked_disabled.svg \
  161. assets/themes/light/close-hover.svg \
  162. assets/themes/light/close-pressed.svg \
  163. assets/themes/light/close.svg \
  164. assets/themes/light/down_arrow-hover.svg \
  165. assets/themes/light/down_arrow.svg \
  166. assets/themes/light/down_arrow_disabled.svg \
  167. assets/themes/light/hmovetoolbar.svg \
  168. assets/themes/light/hsepartoolbar.svg \
  169. assets/themes/light/left_arrow.svg \
  170. assets/themes/light/left_arrow_disabled.svg \
  171. assets/themes/light/radio_checked-hover.svg \
  172. assets/themes/light/radio_checked.svg \
  173. assets/themes/light/radio_checked_disabled.svg \
  174. assets/themes/light/radio_unchecked-hover.svg \
  175. assets/themes/light/radio_unchecked_disabled.svg \
  176. assets/themes/light/right_arrow.svg \
  177. assets/themes/light/right_arrow_disabled.svg \
  178. assets/themes/light/sizegrip.svg \
  179. assets/themes/light/spinup_disabled.svg \
  180. assets/themes/light/stylesheet-branch-end-closed.svg \
  181. assets/themes/light/stylesheet-branch-end-open.svg \
  182. assets/themes/light/stylesheet-branch-end.svg \
  183. assets/themes/light/stylesheet-branch-more.svg \
  184. assets/themes/light/stylesheet-vline.svg \
  185. assets/themes/light/transparent.svg \
  186. assets/themes/light/undock-hover.svg \
  187. assets/themes/light/undock.svg \
  188. assets/themes/light/up_arrow-hover.svg \
  189. assets/themes/light/up_arrow.svg \
  190. assets/themes/light/up_arrow_disabled.svg \
  191. assets/themes/light/vmovetoolbar.svg \
  192. assets/themes/light/vsepartoolbars.svg \
  193. assets/themes/light_original.qss \
  194. assets/themes/theme_license