| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- QT += core gui network svg xml
- QT += multimedia websockets
- QT += winextras
- greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
- CONFIG += console
- CONFIG += c++17
- LIBS += -lshell32
- QT += opengl
- QT += concurrent
- # You can make your code fail to compile if it uses deprecated APIs.
- # In order to do so, uncomment the following line.
- #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
- SOURCES += \
- MainPanel.cpp \
- ScreenWall/main_simple.cpp \
- ScreenWall/screenwall_simple.cpp \
- ScreenWall/screenwall_widget.cpp \
- api/chatapi.cpp \
- api/loginapi.cpp \
- api/roomapi.cpp \
- api/userapi.cpp \
- appevent.cpp \
- main.cpp \
- mainwindow.cpp \
- network/networkaccessmanager.cpp \
- network/request.cpp \
- network/websocketclient.cpp \
- thardware/thardware.cpp \
- thememanager.cpp \
- themesettingswidget.cpp \
- tlogger.cpp \
- util/asynchelper.cpp \
- util/layoutbuilder.cpp \
- util/qformatter.cpp \
- views/loginwindow.cpp \
- widgets/bubbletip.cpp \
- widgets/chatView/bubblemessagemanager.cpp \
- widgets/chatView/chat1/chatmessagedelegate.cpp \
- widgets/chatView/chat1/chatmessagemodel.cpp \
- widgets/chatView/chat1/chatview.cpp \
- widgets/chatView/chatwindow.cpp \
- widgets/chatView/independentchatwindow.cpp \
- widgets/colorlistwidget.cpp \
- widgets/createmeetingdialog.cpp \
- widgets/framelessbase.cpp \
- widgets/joinmeetingdialog.cpp \
- widgets/maskoverlay.cpp \
- widgets/meetingselectionwidget.cpp \
- widgets/statswidget.cpp \
- widgets/userprofilewidget.cpp \
- widgets/windowpreviewwidget.cpp
- HEADERS += \
- MainPanel.h \
- ScreenWall/screenwall_simple.h \
- ScreenWall/screenwall_widget.h \
- api/chatapi.h \
- api/loginapi.h \
- api/roomapi.h \
- api/userapi.h \
- appevent.h \
- mainwindow.h \
- network/networkaccessmanager.h \
- network/request.h \
- network/websocketclient.h \
- thardware/thardware.h \
- thememanager.h \
- themesettingswidget.h \
- tlogger.h \
- util/asynchelper.h \
- util/jsonmapper.h \
- util/layoutbuilder.h \
- util/qformatter.h \
- views/loginwindow.h \
- widgets/bubbletip.h \
- widgets/chatView/bubblemessagemanager.h \
- widgets/chatView/chat1/chatmessage.h \
- widgets/chatView/chat1/chatmessagedelegate.h \
- widgets/chatView/chat1/chatmessagemodel.h \
- widgets/chatView/chat1/chatview.h \
- widgets/chatView/chatwindow.h \
- widgets/chatView/independentchatwindow.h \
- widgets/colorlistwidget.h \
- widgets/createmeetingdialog.h \
- widgets/framelessbase.h \
- widgets/joinmeetingdialog.h \
- widgets/maskoverlay.h \
- widgets/meetingselectionwidget.h \
- widgets/statswidget.h \
- widgets/userprofilewidget.h \
- widgets/windowpreviewwidget.h
- msvc {
- QMAKE_CFLAGS += /utf-8
- QMAKE_CXXFLAGS += /utf-8
- }
- DEFINES += _SILENCE_CLANG_COROUTINE_MESSAGE
- include($$PWD/libs/libs.pri)
- INCLUDEPATH+="E:/AAA/ffmpeg-7.0.2-full_build-shared/include"
- LIBS+="-LE:/AAA/ffmpeg-7.0.2-full_build-shared/lib"
- win32{
- LIBS += -lavcodec -lavfilter -lavformat -lavutil -lswresample -lswscale -lavdevice
- }
- win32: LIBS += -lOpenGL32
- LIBS += -lwinmm
- # For DirectX (D3D11CreateDevice)
- LIBS += -ld3d11
- # For Windows API functions (IsWindowVisible, IsIconic)
- LIBS += -luser32
- LIBS += -ldwmapi # For DwmGetWindowAttribute
- LIBS += -lgdi32 # For GDI functions (BitBlt, CreateCompatibleBitmap, etc.)
- LIBS += -lole32 # For COM/WinRT functions
- LIBS += -loleaut32 # For SysAllocString, SysFreeString, etc.
- LIBS += -lwindowsapp # For CreateDispatcherQueueController
- DESTDIR = $$PWD/bin
- CONFIG(debug, debug|release) {
- DESTDIR = $$PWD/bin_debug
- TARGET = $$join(TARGET,,,d)
- }
- # Default rules for deployment.
- qnx: target.path = /tmp/$${TARGET}/bin
- else: unix:!android: target.path = /opt/$${TARGET}/bin
- !isEmpty(target.path): INSTALLS += target
- RESOURCES += \
- resources/shared.qrc
|