umtsmon is a tool to handle UMTS (3G) devices in Linux This is a port to TDE from https://sourceforge.net/p/umtsmon/
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.

umtsmon.pro 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. TEMPLATE = app
  2. LANGUAGE = C++
  3. # install prefix
  4. # can be overridden with PREFIX environment variable
  5. PREFIX=/usr/local
  6. CONFIG += tqt warn_on release
  7. LIBS += -lusb
  8. DEFINES += QT_NO_ASCII_CAST
  9. INCLUDEPATH += src/model src/view src/base src/controller /usr/include/tqt /usr/include/tqt3
  10. #CXXFLAGS += -ggdb3 -O0
  11. HEADERS += umtsmon_global.h \
  12. src/base/FileStuff.h \
  13. src/base/Internationalisation.h \
  14. src/base/ObserverManager.h \
  15. src/base/Runner.h \
  16. src/base/SerialPort.h \
  17. src/base/TheSettingsSingleton.h \
  18. src/controller/AutoDetect.h \
  19. src/controller/NetworkChanger.h \
  20. src/controller/SIMHandler.h \
  21. src/controller/TheDeviceManagerSingleton.h \
  22. src/controller/ValidatePIN.h \
  23. src/controller/ValidatePhoneNumber.h \
  24. src/model/ConnectionInfo.h \
  25. src/model/Device.h \
  26. src/model/DeviceCapabilities.h \
  27. src/model/HelperList.h \
  28. src/model/MonthlyTraffic.h \
  29. src/model/OperatorList.h \
  30. src/model/PPPConnection.h \
  31. src/model/Profile.h \
  32. src/model/Query.h \
  33. src/view/LCDDisplay.h \
  34. src/view/Popup.h \
  35. src/view/ProgressDialog.h \
  36. src/view/radiopreferences_defines.h \
  37. src/view/SetLanguageDialog.h \
  38. src/view/UIState.h
  39. SOURCES += main.cpp \
  40. src/base/FileStuff.cpp \
  41. src/base/Internationalisation.cpp \
  42. src/base/Runner.cpp \
  43. src/base/SerialPort.cpp \
  44. src/base/TheSettingsSingleton.cpp \
  45. src/controller/AutoDetect.cpp \
  46. src/controller/NetworkChanger.cpp \
  47. src/controller/SIMHandler.cpp \
  48. src/controller/TheDeviceManagerSingleton.cpp \
  49. src/model/ConnectionInfo.cpp \
  50. src/model/Device.cpp \
  51. src/model/HelperList.cpp \
  52. src/model/MonthlyTraffic.cpp \
  53. src/model/OperatorList.cpp \
  54. src/model/PPPConnection.cpp \
  55. src/model/Profile.cpp \
  56. src/model/Query.cpp \
  57. src/view/Popup.cpp \
  58. src/view/ProgressDialog.cpp \
  59. src/view/LCDDisplay.cpp \
  60. src/view/SetLanguageDialog.cpp \
  61. src/view/UIState.cpp
  62. FORMS = src/view/newprofiledialog.ui \
  63. src/view/enterpindialog.ui \
  64. src/view/enterpukdialog.ui \
  65. src/view/aboutdialog.ui \
  66. src/view/infodialog.ui \
  67. src/view/smsdialog.ui \
  68. mainwindow.ui \
  69. src/view/profiledialog.ui \
  70. src/view/helperlistgui.ui \
  71. src/view/PPPErrorLogsDialog.ui \
  72. src/view/radiopreferences.ui \
  73. src/view/manageprofiles.ui \
  74. src/view/networkoperatorwizard.ui \
  75. src/view/popupwithmemory.ui \
  76. src/view/yesnowithmemory.ui
  77. IMAGES = images/22/address-book-new-22x22.png \
  78. images/22/document-new-22x22.png \
  79. images/22/document-save-22x22.png \
  80. images/22/network-transmit-receive-22x22.png \
  81. images/22/network-offline-22x22.png \
  82. images/22/network-wireless-22x22.png \
  83. images/22/mail-message-new-22x22.png \
  84. images/22/applications-system-22x22.png \
  85. images/22/view-refresh-22x22.png \
  86. images/22/umtsmon-22x22.png \
  87. images/16/address-book-new-16x16.png \
  88. images/16/applications-system-16x16.png \
  89. images/16/dialog-information-16x16.png \
  90. images/16/document-new-16x16.png \
  91. images/16/document-save-16x16.png \
  92. images/16/help-browser-16x16.png \
  93. images/16/mail-message-new-16x16.png \
  94. images/16/network-wireless-16x16.png \
  95. images/16/process-stop-16x16.png \
  96. images/16/system-log-out-16x16.png \
  97. images/16/system-search-16x16.png \
  98. images/16/umtsmon-16x16.png \
  99. images/16/user-trash-full-16x16.png \
  100. images/16/view-refresh-16x16.png \
  101. images/ok.png \
  102. images/LCDDisplay/LCDBackground.png \
  103. images/LCDDisplay/LCDSignal.png \
  104. images/Wizard/NetworkOperatorWizard.png
  105. DISTFILES = \
  106. README \
  107. TODO \
  108. AUTHORS \
  109. COPYING
  110. unix {
  111. UI_DIR = .ui
  112. MOC_DIR = .moc
  113. OBJECTS_DIR = .obj
  114. }
  115. TRANSLATIONS = \
  116. i18n/umtsmon_de.ts \
  117. i18n/umtsmon_es.ts \
  118. i18n/umtsmon_id.ts \
  119. i18n/umtsmon_it.ts \
  120. i18n/umtsmon_nb_NO.ts \
  121. i18n/umtsmon_nl.ts \
  122. i18n/umtsmon_pl.ts \
  123. i18n/umtsmon_pt_BR.ts \
  124. i18n/umtsmon_pt_PT.ts \
  125. i18n/umtsmon_ru.ts \
  126. i18n/umtsmon_sv.ts
  127. # build translations
  128. translations_qm = ${TRANSLATIONS}
  129. translations_qm ~= s/\.ts/.qm/g
  130. lupdate.target=$${TRANSLATIONS}
  131. lupdate.commands=lupdate -verbose umtsmon.pro
  132. lupdate.depends=$${HEADERS} $${SOURCES} $${FORMS} umtsmon.pro
  133. lrelease.target=$${translations_qm}
  134. lrelease.commands=lrelease -verbose umtsmon.pro
  135. lrelease.depends=$${TRANSLATIONS}
  136. aboutdialog.target=src/view/aboutdialog.ui
  137. aboutdialog.commands=sed -e '/@AUTHORS@/rAUTHORS' -e '/@COPYING@/rCOPYING' src/view/aboutdialog.base.ui -e '/@COPYING@/d;/@AUTHORS@/d' > src/view/aboutdialog.ui
  138. aboutdialog.depends=AUTHORS COPYING src/view/aboutdialog.base.ui
  139. #
  140. TQMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease
  141. TQMAKE_EXTRA_UNIX_TARGETS += aboutdialog
  142. POST_TARGETDEPS = $${lupdate.target} $${lrelease.target}
  143. # make install rules
  144. env_prefix=$$(PREFIX)
  145. !isEmpty(env_prefix) {
  146. PREFIX=$${env_prefix}
  147. }
  148. target.path=$${PREFIX}/bin
  149. trans.files=$${translations_qm}
  150. trans.path=$${PREFIX}/share/umtsmon/translations
  151. desktop.files=umtsmon.desktop
  152. desktop.path=$${PREFIX}/share/applications
  153. icon128.files=images/128/umtsmon-128x128.png
  154. icon128.path=$${PREFIX}/share/icons/hicolor/128x128/apps
  155. INSTALLS += target trans desktop icon128
  156. TQMAKE_CLEAN += \
  157. src/view/aboutdialog.ui \
  158. $${translations_qm} \
  159. umtsmon