Advertisement
not_anonymous

klog.pro.diff

Feb 27th, 2017
119
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- klog.pro
  2. +++ klog.pro
  3. @@ -1,75 +1,42 @@
  4. -# -------------------------------------------------
  5. -# Project created by QtCreator 2011-04-23T14:06:58
  6. -# -------------------------------------------------
  7. +CONFIG += app_bundle
  8. +CONFIG += static
  9. +CONFIG += release
  10. +TEMPLATE = app
  11. +VERSION = 0.9.2.5.1
  12. +DEFINES += APP_VERSION="$$VERSION"
  13. +
  14. +APP_NAME = KLog
  15. +DEFINES += APP_NAME="$$APP_NAME"
  16. +
  17. +APP_UNIX_NAME = klog
  18. +DEFINES += APP_UNIX_NAME="$$APP_UNIX_NAME"
  19. +
  20. +message(Building $${APP_NAME} $${VERSION})
  21. +message(Qt $$[QT_VERSION] in $$[QT_INSTALL_PREFIX])
  22. +
  23. +#DEFINES *= QT_NO_DEBUG_OUTPUT
  24. +#DEFINES *= QT_USE_QSTRINGBUILDER
  25. +#DEFINES *= QT_STRICT_ITERATORS
  26. +
  27. +TARGET = $${APP_UNIX_NAME}
  28. +
  29. QT += core \
  30. - gui \
  31. + gui \
  32. sql \
  33. network \
  34. widgets
  35. -greaterThan(QT_MAJOR_VERSION, 4) {
  36. +
  37. +greaterThan(QT_MAJOR_VERSION, 4) {
  38. QT *= printsupport
  39. QT += widgets
  40. }
  41.  
  42.  
  43. -unix:!macx {
  44. - TARGET = klog
  45. -}
  46. +#qt:greaterThan(QT_MAJOR_VERSION, 4) {
  47. +# contains(QT, gui): QT *= widgets
  48. +#}
  49.  
  50. -macx {
  51. - ICON = klog.icns
  52. - TARGET = KLog
  53. -}
  54. -
  55. -win32 {
  56. - RC_ICONS = klog.ico
  57. - TARGET = klog
  58. -}
  59. -else:TARGET = klog
  60. -
  61. -# greaterThan(QT_MAJOR_VERSION, 4): QT += widgets core gui sql network
  62. -# TARGET = klog
  63. -CONFIG += app_bundle
  64. -CONFIG += static
  65. -TEMPLATE = app
  66. -RESOURCES = klog.qrc
  67. -SOURCES += main.cpp \
  68. - setupdialog.cpp \
  69. - mainwindow.cpp \
  70. - world.cpp \
  71. - logwindow.cpp \
  72. - filemanager.cpp \
  73. - contest.cpp \
  74. - contest_cqwwdxssb.cpp \
  75. - database.cpp \
  76. - dataproxy.cpp \
  77. - dataproxy_sqlite.cpp \
  78. - downloadcty.cpp \
  79. - dxcluster.cpp \
  80. - setuppagebandsmodes.cpp \
  81. - setuppagemisc.cpp \
  82. - locator.cpp \
  83. - awards.cpp \
  84. - setuppageuserdata.cpp \
  85. - setuppagedxcluster.cpp \
  86. - setuppagecolors.cpp \
  87. - setuppagelogs.cpp \
  88. - helphelpdialog.cpp \
  89. - helpaboutdialog.cpp \
  90. - setuppageworldeditor.cpp \
  91. - setupentitydialog.cpp \
  92. - startwizard.cpp \
  93. - mainwindowsattab.cpp \
  94. - awarddxmarathon.cpp \
  95. - setuppagelogsnew.cpp \
  96. - setuppageclublog.cpp \
  97. - elogclublog.cpp \
  98. - utilities.cpp \
  99. - dxccstatuswidget.cpp \
  100. - mainwindowmydatatab.cpp \
  101. - mainwindowinputcomment.cpp \
  102. - mainwindowinputothers.cpp
  103. -HEADERS += setupdialog.h \
  104. +HEADERS += setupdialog.h \
  105. mainwindow.h \
  106. world.h \
  107. logwindow.h \
  108. @@ -80,32 +47,115 @@
  109. setuppagemisc.h \
  110. locator.h \
  111. dxcluster.h \
  112. - awards.h \
  113. + awards.h \
  114. setuppageuserdata.h \
  115. setuppagedxcluster.h \
  116. - setuppagecolors.h \
  117. - contest_cqwwdxssb.h \
  118. + setuppagecolors.h \
  119. + contest_cqwwdxssb.h \
  120. setuppagelogs.h \
  121. helphelpdialog.h \
  122. helpaboutdialog.h \
  123. setuppageworldeditor.h \
  124. - setupentitydialog.h \
  125. + setupentitydialog.h \
  126. startwizard.h \
  127. downloadcty.h \
  128. - dataproxy.h \
  129. + dataproxy.h \
  130. dataproxy_sqlite.h \
  131. mainwindowsattab.h \
  132. - awarddxmarathon.h \
  133. + awarddxmarathon.h \
  134. setuppagelogsnew.h \
  135. setuppageclublog.h \
  136. elogclublog.h \
  137. - utilities.h \
  138. + utilities.h \
  139. dxccstatuswidget.h \
  140. mainwindowmydatatab.h \
  141. mainwindowinputcomment.h \
  142. - mainwindowinputothers.h
  143. -OTHER_FILES += TODO \
  144. - README-DEVEL \
  145. + mainwindowinputothers.h
  146. +SOURCES += main.cpp \
  147. + setupdialog.cpp \
  148. + mainwindow.cpp \
  149. + world.cpp \
  150. + logwindow.cpp \
  151. + filemanager.cpp \
  152. + contest.cpp \
  153. + contest_cqwwdxssb.cpp \
  154. + database.cpp \
  155. + dataproxy.cpp \
  156. + dataproxy_sqlite.cpp \
  157. + downloadcty.cpp \
  158. + dxcluster.cpp \
  159. + setuppagebandsmodes.cpp \
  160. + setuppagemisc.cpp \
  161. + locator.cpp \
  162. + awards.cpp \
  163. + setuppageuserdata.cpp \
  164. + setuppagedxcluster.cpp \
  165. + setuppagecolors.cpp \
  166. + setuppagelogs.cpp \
  167. + helphelpdialog.cpp \
  168. + helpaboutdialog.cpp \
  169. + setuppageworldeditor.cpp \
  170. + setupentitydialog.cpp \
  171. + startwizard.cpp \
  172. + mainwindowsattab.cpp \
  173. + awarddxmarathon.cpp \
  174. + setuppagelogsnew.cpp \
  175. + setuppageclublog.cpp \
  176. + elogclublog.cpp \
  177. + utilities.cpp \
  178. + dxccstatuswidget.cpp \
  179. + mainwindowmydatatab.cpp \
  180. + mainwindowinputcomment.cpp \
  181. + mainwindowinputothers.cpp
  182. +
  183. +RESOURCES += klog.qrc
  184. +DESTDIR = build/target/
  185. +OBJECTS_DIR = build/obj/
  186. +MOC_DIR = build/moc/
  187. +RCC_DIR = build/rcc/
  188. +
  189. +# Tell Qt Linguist that we use UTF-8 strings in our sources
  190. +CODECFORTR = UTF-8
  191. +CODECFORSRC = UTF-8
  192. +include(translations/translations.pri)
  193. +
  194. +# deploy
  195. +DISTFILES += CHANGES COPYING
  196. +unix:!mac {
  197. + DEFINES += APP_LINUX
  198. + qt:greaterThan(QT_MAJOR_VERSION, 4) {
  199. + # LIBS += -lphonon4qt5
  200. + # INCLUDEPATH += /usr/include/phonon4qt5
  201. + } else {
  202. + # QT += phonon
  203. + # INCLUDEPATH += /usr/include/phonon
  204. + }
  205. + QT += dbus
  206. + isEmpty(PREFIX):PREFIX = /usr
  207. + BINDIR = $$PREFIX/bin
  208. + INSTALLS += target
  209. + target.path = $$BINDIR
  210. + DATADIR = $$PREFIX/share
  211. + PKGDATADIR = $$DATADIR/klog
  212. + DEFINES += DATADIR=\\\"$$DATADIR\\\" \
  213. + PKGDATADIR=\\\"$$PKGDATADIR\\\"
  214. + INSTALLS += translations
  215. + translations.path = $$PKGDATADIR
  216. + translations.files += $$DESTDIR/translations
  217. +}
  218. +macx {
  219. + ICON = klog.icns
  220. + TARGET = KLog
  221. +}
  222. +
  223. +win32 {
  224. + RC_ICONS = klog.ico
  225. + TARGET = klog
  226. +}
  227. +else:TARGET = klog
  228. +
  229. +OTHER_FILES += \
  230. + README-DEVEL \
  231. tips-for-devel.txt \
  232. INSTALL.txt \
  233. INSTALL-linux \
  234. @@ -117,11 +167,3 @@
  235. COPYING \
  236. AUTHORS \
  237. README
  238. -TRANSLATIONS = translations/klog_es.ts \
  239. - translations/klog_ca.ts \
  240. - translations/klog_it.ts \
  241. - translations/klog_ja.ts
  242. -CODECFORTR = UTF-8
  243. -FORMS +=
  244. -
  245. -
Advertisement
RAW Paste Data Copied
Advertisement