2
0

openPilotLog.pro 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. QT += core gui sql
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. CONFIG += c++17
  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. SOURCES += \
  14. main.cpp \
  15. mainwindow.cpp \
  16. src/classes/aircraft.cpp \
  17. src/classes/calc.cpp \
  18. src/classes/completionlist.cpp \
  19. src/classes/flight.cpp \
  20. src/classes/pilot.cpp \
  21. src/classes/stat.cpp \
  22. src/classes/strictrxvalidator.cpp \
  23. src/database/db.cpp \
  24. src/database/dbinfo.cpp \
  25. src/database/entry.cpp \
  26. src/gui/dialogues/firstrundialog.cpp \
  27. src/gui/dialogues/newpilot.cpp \
  28. src/gui/dialogues/newtail.cpp \
  29. src/gui/widgets/aircraftwidget.cpp \
  30. src/gui/widgets/homewidget.cpp \
  31. src/gui/widgets/logbookwidget.cpp \
  32. src/gui/widgets/pilotswidget.cpp \
  33. src/gui/widgets/settingswidget.cpp \
  34. src/gui/widgets/totalswidget.cpp
  35. HEADERS += \
  36. mainwindow.h \
  37. src/classes/aircraft.h \
  38. src/classes/calc.h \
  39. src/classes/completionlist.h \
  40. src/classes/flight.h \
  41. src/classes/pilot.h \
  42. src/classes/stat.h \
  43. src/classes/strictrxvalidator.h \
  44. src/database/db.h \
  45. src/database/dbinfo.h \
  46. src/database/entry.h \
  47. src/gui/dialogues/firstrundialog.h \
  48. src/gui/dialogues/newpilot.h \
  49. src/gui/dialogues/newtail.h \
  50. src/gui/widgets/aircraftwidget.h \
  51. src/gui/widgets/homewidget.h \
  52. src/gui/widgets/logbookwidget.h \
  53. src/gui/widgets/pilotswidget.h \
  54. src/gui/widgets/settingswidget.h \
  55. src/gui/widgets/totalswidget.h
  56. FORMS += \
  57. mainwindow.ui \
  58. src/gui/dialogues/firstrundialog.ui \
  59. src/gui/dialogues/newpilot.ui \
  60. src/gui/dialogues/newtail.ui \
  61. src/gui/widgets/aircraftwidget.ui \
  62. src/gui/widgets/homewidget.ui \
  63. src/gui/widgets/logbookwidget.ui \
  64. src/gui/widgets/pilotswidget.ui \
  65. src/gui/widgets/settingswidget.ui \
  66. src/gui/widgets/totalswidget.ui
  67. # Default rules for deployment.
  68. qnx: target.path = /tmp/$${TARGET}/bin
  69. else: unix:!android: target.path = /opt/$${TARGET}/bin
  70. !isEmpty(target.path): INSTALLS += target
  71. RESOURCES += \
  72. assets/icons.qrc \
  73. assets/themes/breeze.qrc
  74. DISTFILES += \
  75. assets/themes/dark.qss \
  76. assets/themes/dark/branch_closed-on.svg \
  77. assets/themes/dark/branch_closed.svg \
  78. assets/themes/dark/branch_open-on.svg \
  79. assets/themes/dark/branch_open.svg \
  80. assets/themes/dark/checkbox_checked.svg \
  81. assets/themes/dark/checkbox_checked_disabled.svg \
  82. assets/themes/dark/checkbox_indeterminate.svg \
  83. assets/themes/dark/checkbox_indeterminate_disabled.svg \
  84. assets/themes/dark/checkbox_unchecked.svg \
  85. assets/themes/dark/checkbox_unchecked_disabled.svg \
  86. assets/themes/dark/close-hover.svg \
  87. assets/themes/dark/close-pressed.svg \
  88. assets/themes/dark/close.svg \
  89. assets/themes/dark/down_arrow-hover.svg \
  90. assets/themes/dark/down_arrow.svg \
  91. assets/themes/dark/down_arrow_disabled.svg \
  92. assets/themes/dark/hmovetoolbar.svg \
  93. assets/themes/dark/hsepartoolbar.svg \
  94. assets/themes/dark/left_arrow.svg \
  95. assets/themes/dark/left_arrow_disabled.svg \
  96. assets/themes/dark/radio_checked.svg \
  97. assets/themes/dark/radio_checked_disabled.svg \
  98. assets/themes/dark/radio_unchecked.svg \
  99. assets/themes/dark/radio_unchecked_disabled.svg \
  100. assets/themes/dark/right_arrow.svg \
  101. assets/themes/dark/right_arrow_disabled.svg \
  102. assets/themes/dark/sizegrip.svg \
  103. assets/themes/dark/spinup_disabled.svg \
  104. assets/themes/dark/stylesheet-branch-end-closed.svg \
  105. assets/themes/dark/stylesheet-branch-end-open.svg \
  106. assets/themes/dark/stylesheet-branch-end.svg \
  107. assets/themes/dark/stylesheet-branch-more.svg \
  108. assets/themes/dark/stylesheet-vline.svg \
  109. assets/themes/dark/transparent.svg \
  110. assets/themes/dark/undock-hover.svg \
  111. assets/themes/dark/undock.svg \
  112. assets/themes/dark/up_arrow-hover.svg \
  113. assets/themes/dark/up_arrow.svg \
  114. assets/themes/dark/up_arrow_disabled.svg \
  115. assets/themes/dark/vmovetoolbar.svg \
  116. assets/themes/dark/vsepartoolbars.svg \
  117. assets/themes/dark_original.qss \
  118. assets/themes/light.qss \
  119. assets/themes/light/branch_closed-on.svg \
  120. assets/themes/light/branch_closed.svg \
  121. assets/themes/light/branch_open-on.svg \
  122. assets/themes/light/branch_open.svg \
  123. assets/themes/light/checkbox_checked-hover.svg \
  124. assets/themes/light/checkbox_checked.svg \
  125. assets/themes/light/checkbox_checked_disabled.svg \
  126. assets/themes/light/checkbox_indeterminate-hover.svg \
  127. assets/themes/light/checkbox_indeterminate.svg \
  128. assets/themes/light/checkbox_indeterminate_disabled.svg \
  129. assets/themes/light/checkbox_unchecked-hover.svg \
  130. assets/themes/light/checkbox_unchecked_disabled.svg \
  131. assets/themes/light/close-hover.svg \
  132. assets/themes/light/close-pressed.svg \
  133. assets/themes/light/close.svg \
  134. assets/themes/light/down_arrow-hover.svg \
  135. assets/themes/light/down_arrow.svg \
  136. assets/themes/light/down_arrow_disabled.svg \
  137. assets/themes/light/hmovetoolbar.svg \
  138. assets/themes/light/hsepartoolbar.svg \
  139. assets/themes/light/left_arrow.svg \
  140. assets/themes/light/left_arrow_disabled.svg \
  141. assets/themes/light/radio_checked-hover.svg \
  142. assets/themes/light/radio_checked.svg \
  143. assets/themes/light/radio_checked_disabled.svg \
  144. assets/themes/light/radio_unchecked-hover.svg \
  145. assets/themes/light/radio_unchecked_disabled.svg \
  146. assets/themes/light/right_arrow.svg \
  147. assets/themes/light/right_arrow_disabled.svg \
  148. assets/themes/light/sizegrip.svg \
  149. assets/themes/light/spinup_disabled.svg \
  150. assets/themes/light/stylesheet-branch-end-closed.svg \
  151. assets/themes/light/stylesheet-branch-end-open.svg \
  152. assets/themes/light/stylesheet-branch-end.svg \
  153. assets/themes/light/stylesheet-branch-more.svg \
  154. assets/themes/light/stylesheet-vline.svg \
  155. assets/themes/light/transparent.svg \
  156. assets/themes/light/undock-hover.svg \
  157. assets/themes/light/undock.svg \
  158. assets/themes/light/up_arrow-hover.svg \
  159. assets/themes/light/up_arrow.svg \
  160. assets/themes/light/up_arrow_disabled.svg \
  161. assets/themes/light/vmovetoolbar.svg \
  162. assets/themes/light/vsepartoolbars.svg \
  163. assets/themes/light_original.qss \
  164. assets/themes/theme_license