client.pro 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. QT += core gui webenginewidgets multimedia websockets network
  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. QMAKE_LFLAGS_RELEASE+=/MAP
  10. QMAKE_CXXFLAGS_RELEASE += -O2 -GL
  11. QMAKE_CXXFLAGS_DEBUG += -Zi
  12. # You can also make your code fail to compile if it uses deprecated APIs.
  13. # In order to do so, uncomment the following line.
  14. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  15. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  16. SOURCES += \
  17. answerWidget.cpp \
  18. awBackground.cpp \
  19. awExamScore.cpp \
  20. awHandinPaper.cpp \
  21. awMsgBox.cpp \
  22. awQuestionNavigate.cpp \
  23. awResumeExam.cpp \
  24. awTimeLeftTips.cpp \
  25. awWaitExam.cpp \
  26. awqn_item.cpp \
  27. clEditPassword.cpp \
  28. clMobileLogin.cpp \
  29. clNoticeDetail.cpp \
  30. clNoticeList.cpp \
  31. clNoticePopWidget.cpp \
  32. clObjectiveScore.cpp \
  33. clOfflineExam.cpp \
  34. clOnlineExam.cpp \
  35. clOnlineHomework.cpp \
  36. clOnlinePractice.cpp \
  37. clStudentInfo.cpp \
  38. cloeUploadFile.cpp \
  39. cloeViewPaper.cpp \
  40. clopPaperDetail.cpp \
  41. clopPaperReport.cpp \
  42. clopReport.cpp \
  43. clopResultList.cpp \
  44. courseList.cpp \
  45. environmentalTest.cpp \
  46. etCameraTest.cpp \
  47. etMobileTest.cpp \
  48. etNetworkTest.cpp \
  49. etTestResult.cpp \
  50. etTimeTest.cpp \
  51. etVoiceTest.cpp \
  52. etWhetherEnvTest.cpp \
  53. main.cpp \
  54. login.cpp \
  55. privacyWidget.cpp \
  56. welcomeWidget.cpp \
  57. CLiveViodeProc.cpp \
  58. HEADERS += \
  59. answerWidget.h \
  60. awBackground.h \
  61. awExamScore.h \
  62. awHandinPaper.h \
  63. awMsgBox.h \
  64. awQuestionNavigate.h \
  65. awResumeExam.h \
  66. awTimeLeftTips.h \
  67. awWaitExam.h \
  68. awqn_item.h \
  69. clEditPassword.h \
  70. clMobileLogin.h \
  71. clNoticeDetail.h \
  72. clNoticeList.h \
  73. clNoticePopWidget.h \
  74. clObjectiveScore.h \
  75. clOfflineExam.h \
  76. clOnlineExam.h \
  77. clOnlineHomework.h \
  78. clOnlinePractice.h \
  79. clStudentInfo.h \
  80. cloeUploadFile.h \
  81. cloeViewPaper.h \
  82. clopPaperDetail.h \
  83. clopPaperReport.h \
  84. clopReport.h \
  85. clopResultList.h \
  86. courseList.h \
  87. environmentalTest.h \
  88. etCameraTest.h \
  89. etMobileTest.h \
  90. etNetworkTest.h \
  91. etTestResult.h \
  92. etTimeTest.h \
  93. etVoiceTest.h \
  94. etWhetherEnvTest.h \
  95. login.h \
  96. privacyWidget.h \
  97. welcomeWidget.h \
  98. CLiveViodeProc.h \
  99. FORMS += \
  100. answerWidget.ui \
  101. awBackground.ui \
  102. awExamScore.ui \
  103. awHandinPaper.ui \
  104. awMsgBox.ui \
  105. awQuestionNavigate.ui \
  106. awResumeExam.ui \
  107. awTimeLeftTips.ui \
  108. awWaitExam.ui \
  109. awqn_item.ui \
  110. clEditPassword.ui \
  111. clMobileLogin.ui \
  112. clNoticeDetail.ui \
  113. clNoticeList.ui \
  114. clNoticePopWidget.ui \
  115. clObjectiveScore.ui \
  116. clOfflineExam.ui \
  117. clOnlineExam.ui \
  118. clOnlineHomework.ui \
  119. clOnlinePractice.ui \
  120. clStudentInfo.ui \
  121. cloeUploadFile.ui \
  122. cloeViewPaper.ui \
  123. clopPaperDetail.ui \
  124. clopPaperReport.ui \
  125. clopReport.ui \
  126. clopResultList.ui \
  127. courseList.ui \
  128. environmentalTest.ui \
  129. etCameraTest.ui \
  130. etMobileTest.ui \
  131. etNetworkTest.ui \
  132. etTestResult.ui \
  133. etTimeTest.ui \
  134. etVoiceTest.ui \
  135. etWhetherEnvTest.ui \
  136. login.ui \
  137. privacyWidget.ui \
  138. welcomeWidget.ui
  139. UI_DIR += ./forms_client
  140. RCC_DIR += ./tmp_client
  141. MOC_DIR += ./tmp_client
  142. OBJECTS_DIR += ./tmp_client
  143. RC_ICONS = images/coe.ico
  144. include(../common/common.pri)
  145. include(../component/component.pri)
  146. include(../face/face.pri)
  147. include(../question/question.pri)
  148. BREAKPAD_PATH = C:/project/qtPlugins/breakpad/src
  149. INCLUDEPATH += ../common/ \
  150. ../component/ \
  151. ../face/ \
  152. ../question/ \
  153. ../3rdPart/TX_TRTC_SDK/Win32/include/ \
  154. ../3rdPart/TX_TRTC_SDK/Win32/include/Live/ \
  155. ../3rdPart/TX_TRTC_SDK/Win32/include/TRTC/ \
  156. ../3rdPart/TX_TRTC_SDK/Win32/include/Vod/ \
  157. $$BREAKPAD_PATH \
  158. LIBS +=-Ld:/workspace/project/oline-exam-cloud/3rdPart/TX_TRTC_SDK/Win32/lib -lliteav \
  159. -ladvapi32 \
  160. CONFIG(release, debug|release): LIBS += -L$$BREAKPAD_PATH/client/windows/Release/lib -lcommon -lcrash_generation_client -lcrash_generation_server -lexception_handler
  161. CONFIG(debug, debug|release): LIBS += -L$$BREAKPAD_PATH/client/windows/Debug/lib -lcommon -lcrash_generation_client -lcrash_generation_server -lexception_handler
  162. # Default rules for deployment.
  163. qnx: target.path = /tmp/$${TARGET}/bin
  164. else: unix:!android: target.path = /opt/$${TARGET}/bin
  165. !isEmpty(target.path): INSTALLS += target
  166. RESOURCES += \
  167. rc.qrc