LearningSmartClient.pro 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. QT += core gui network svg xml
  2. QT += multimedia websockets
  3. QT += winextras
  4. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  5. CONFIG += console
  6. CONFIG += c++17
  7. LIBS += -lshell32
  8. QT += opengl
  9. QT += concurrent
  10. # You can make your code fail to compile if it uses deprecated APIs.
  11. # In order to do so, uncomment the following line.
  12. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  13. SOURCES += \
  14. MainPanel.cpp \
  15. ScreenWall/main_simple.cpp \
  16. ScreenWall/screenwall_simple.cpp \
  17. ScreenWall/screenwall_widget.cpp \
  18. api/chatapi.cpp \
  19. api/loginapi.cpp \
  20. api/roomapi.cpp \
  21. api/userapi.cpp \
  22. appevent.cpp \
  23. main.cpp \
  24. mainwindow.cpp \
  25. network/networkaccessmanager.cpp \
  26. network/request.cpp \
  27. network/websocketclient.cpp \
  28. thardware/thardware.cpp \
  29. thememanager.cpp \
  30. themesettingswidget.cpp \
  31. tlogger.cpp \
  32. util/asynchelper.cpp \
  33. util/layoutbuilder.cpp \
  34. util/qformatter.cpp \
  35. views/loginwindow.cpp \
  36. widgets/bubbletip.cpp \
  37. widgets/chatView/bubblemessagemanager.cpp \
  38. widgets/chatView/chat1/chatmessagedelegate.cpp \
  39. widgets/chatView/chat1/chatmessagemodel.cpp \
  40. widgets/chatView/chat1/chatview.cpp \
  41. widgets/chatView/chatwindow.cpp \
  42. widgets/chatView/independentchatwindow.cpp \
  43. widgets/colorlistwidget.cpp \
  44. widgets/createmeetingdialog.cpp \
  45. widgets/framelessbase.cpp \
  46. widgets/joinmeetingdialog.cpp \
  47. widgets/maskoverlay.cpp \
  48. widgets/meetingselectionwidget.cpp \
  49. widgets/statswidget.cpp \
  50. widgets/userprofilewidget.cpp \
  51. widgets/windowpreviewwidget.cpp
  52. HEADERS += \
  53. MainPanel.h \
  54. ScreenWall/screenwall_simple.h \
  55. ScreenWall/screenwall_widget.h \
  56. api/chatapi.h \
  57. api/loginapi.h \
  58. api/roomapi.h \
  59. api/userapi.h \
  60. appevent.h \
  61. mainwindow.h \
  62. network/networkaccessmanager.h \
  63. network/request.h \
  64. network/websocketclient.h \
  65. thardware/thardware.h \
  66. thememanager.h \
  67. themesettingswidget.h \
  68. tlogger.h \
  69. util/asynchelper.h \
  70. util/jsonmapper.h \
  71. util/layoutbuilder.h \
  72. util/qformatter.h \
  73. views/loginwindow.h \
  74. widgets/bubbletip.h \
  75. widgets/chatView/bubblemessagemanager.h \
  76. widgets/chatView/chat1/chatmessage.h \
  77. widgets/chatView/chat1/chatmessagedelegate.h \
  78. widgets/chatView/chat1/chatmessagemodel.h \
  79. widgets/chatView/chat1/chatview.h \
  80. widgets/chatView/chatwindow.h \
  81. widgets/chatView/independentchatwindow.h \
  82. widgets/colorlistwidget.h \
  83. widgets/createmeetingdialog.h \
  84. widgets/framelessbase.h \
  85. widgets/joinmeetingdialog.h \
  86. widgets/maskoverlay.h \
  87. widgets/meetingselectionwidget.h \
  88. widgets/statswidget.h \
  89. widgets/userprofilewidget.h \
  90. widgets/windowpreviewwidget.h
  91. msvc {
  92. QMAKE_CFLAGS += /utf-8
  93. QMAKE_CXXFLAGS += /utf-8
  94. }
  95. DEFINES += _SILENCE_CLANG_COROUTINE_MESSAGE
  96. include($$PWD/libs/libs.pri)
  97. INCLUDEPATH+="E:/AAA/ffmpeg-7.0.2-full_build-shared/include"
  98. LIBS+="-LE:/AAA/ffmpeg-7.0.2-full_build-shared/lib"
  99. win32{
  100. LIBS += -lavcodec -lavfilter -lavformat -lavutil -lswresample -lswscale -lavdevice
  101. }
  102. win32: LIBS += -lOpenGL32
  103. LIBS += -lwinmm
  104. # For DirectX (D3D11CreateDevice)
  105. LIBS += -ld3d11
  106. # For Windows API functions (IsWindowVisible, IsIconic)
  107. LIBS += -luser32
  108. LIBS += -ldwmapi # For DwmGetWindowAttribute
  109. LIBS += -lgdi32 # For GDI functions (BitBlt, CreateCompatibleBitmap, etc.)
  110. LIBS += -lole32 # For COM/WinRT functions
  111. LIBS += -loleaut32 # For SysAllocString, SysFreeString, etc.
  112. LIBS += -lwindowsapp # For CreateDispatcherQueueController
  113. DESTDIR = $$PWD/bin
  114. CONFIG(debug, debug|release) {
  115. DESTDIR = $$PWD/bin_debug
  116. TARGET = $$join(TARGET,,,d)
  117. }
  118. # Default rules for deployment.
  119. qnx: target.path = /tmp/$${TARGET}/bin
  120. else: unix:!android: target.path = /opt/$${TARGET}/bin
  121. !isEmpty(target.path): INSTALLS += target
  122. RESOURCES += \
  123. resources/shared.qrc