You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cutecw.pro 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2010-07-01T21:21:28
  4. #
  5. #-------------------------------------------------
  6. QT += core gui multimedia network xml widgets
  7. TARGET = cutecw
  8. TEMPLATE = app
  9. VERSION = 1.2
  10. # Activate this line if you want a portable build
  11. # This will makes the software to use a config in the
  12. # current "runtime" folder instead of system-wide one
  13. #DEFINES += "PORTABLE_BUILD=TRUE"
  14. RESOURCES = cutecw.qrc
  15. SOURCES += main.cpp\
  16. MainWindow.cpp \
  17. Morse.cpp \
  18. Generator.cpp \
  19. MorseStat.cpp \
  20. Prefs.cpp \
  21. modes/SpeedTrainingMode.cpp \
  22. modes/TrainingMode.cpp \
  23. modes/MorseMode.cpp \
  24. modes/PlayMode.cpp \
  25. modes/LetterTrainingMode.cpp \
  26. modes/WordTrainingMode.cpp \
  27. modes/ReadMode.cpp \
  28. modes/ChooseSequenceDialog.cpp \
  29. modes/GroupingMode.cpp \
  30. modes/KeyTraining.cpp \
  31. modes/games/MGameMode.cpp \
  32. modes/games/MCountGameMode.cpp \
  33. modes/games/MTimeGameMode.cpp \
  34. modes/games/GroupGame.cpp \
  35. modes/games/WordGame.cpp \
  36. modes/games/HighScoresDialog.cpp \
  37. modes/games/HighScores.cpp \
  38. modes/QModeStart.cpp \
  39. AboutDialog.cpp \
  40. modes/FrontPage.cpp \
  41. GoalBar.cpp \
  42. widgets/KeyTimingDisplay.cpp \
  43. KeyingReader.cpp \
  44. modes/games/KeyInvaders.cpp \
  45. modes/games/Invader.cpp \
  46. modes/MSequences.cpp
  47. HEADERS += MainWindow.h \
  48. Morse.h \
  49. morse_code.h \
  50. Generator.h \
  51. MorseStat.h \
  52. Prefs.h \
  53. modes/SpeedTrainingMode.h \
  54. modes/TrainingMode.h \
  55. modes/MorseMode.h \
  56. modes/PlayMode.h \
  57. modes/LetterTrainingMode.h \
  58. modes/WordTrainingMode.h \
  59. modes/ReadMode.h \
  60. modes/ChooseSequenceDialog.h \
  61. modes/GroupingMode.h \
  62. modes/KeyTraining.h \
  63. modes/games/MGameMode.h \
  64. modes/games/MCountGameMode.h \
  65. modes/games/MTimeGameMode.h \
  66. modes/games/GroupGame.h \
  67. modes/games/WordGame.h \
  68. modes/games/HighScoresDialog.h \
  69. modes/games/HighScores.h \
  70. modes/QModeStart.h \
  71. AboutDialog.h \
  72. modes/FrontPage.h \
  73. GoalBar.h \
  74. widgets/KeyTimingDisplay.h \
  75. KeyingReader.h \
  76. modes/games/KeyInvaders.h \
  77. modes/games/Invader.h \
  78. modes/MSequences.h
  79. FORMS += AboutDialog.ui
  80. DEFINES += "QT_MESSAGELOGCONTEXT=TRUE"
  81. CONFIG += mobility
  82. MOBILITY =
  83. symbian {
  84. TARGET.UID3 = 0xe0df144b
  85. # TARGET.CAPABILITY +=
  86. TARGET.EPOCSTACKSIZE = 0x14000
  87. TARGET.EPOCHEAPSIZE = 0x020000 0x800000
  88. }
  89. OTHER_FILES += \
  90. debian/changelog \
  91. debian/compat \
  92. debian/control \
  93. debian/copyright \
  94. debian/README \
  95. debian/rules \
  96. cutecw.desktop
  97. TRANSLATIONS = cutecw_en.ts \
  98. cutecw_fr.ts
  99. BINDIR = $$PREFIX/bin
  100. DATADIR =$$PREFIX/share
  101. macx {
  102. CONFIG += x86 x86_64
  103. # CONFIG += x86 ppc x86_64 ppc64
  104. }
  105. unix:!symbian {
  106. icon26.files = icons/26x26/cutecw.png
  107. icon48.files = icons/48x48/cutecw.png
  108. icon64.files = icons/64x64/cutecw.png
  109. icon26.path = $$DATADIR/icons/hicolor/26x26/apps
  110. icon48.path = $$DATADIR/icons/hicolor/48x48/apps
  111. icon64.path = $$DATADIR/icons/hicolor/64x64/apps
  112. desktopfile.files = $${TARGET}.desktop
  113. maemo5 {
  114. target.path = /opt/usr/bin
  115. desktopfile.path = /usr/share/applications/hildon
  116. } else {
  117. target.path = /usr/local/bin
  118. desktopfile.path = /usr/share/applications
  119. }
  120. INSTALLS += desktopfile
  121. INSTALLS += target
  122. INSTALLS += icon26 icon48 icon64
  123. }