2023-03-25 13:35:21 +08:00
|
|
|
QT += quick concurrent network multimedia
|
|
|
|
CONFIG += c++11
|
2023-02-24 18:44:29 +08:00
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS QT_NO_WARNING_OUTPUT
|
|
|
|
|
|
|
|
SOURCES += \
|
2023-03-17 14:05:27 +08:00
|
|
|
ChatController.cpp \
|
2023-02-24 18:44:29 +08:00
|
|
|
main.cpp
|
|
|
|
|
|
|
|
RESOURCES += qml.qrc
|
2023-03-25 20:45:33 +08:00
|
|
|
|
2023-03-15 20:40:09 +08:00
|
|
|
RC_ICONS = favicon.ico
|
2023-03-25 20:45:33 +08:00
|
|
|
|
2023-03-07 23:56:55 +08:00
|
|
|
QML_IMPORT_PATH =
|
|
|
|
QML_DESIGNER_IMPORT_PATH =
|
2023-03-25 20:45:33 +08:00
|
|
|
|
2023-03-07 23:56:55 +08:00
|
|
|
CONFIG(debug,debug|release) {
|
|
|
|
DESTDIR = $$absolute_path($${_PRO_FILE_PWD_}/../bin/debug)
|
|
|
|
} else {
|
|
|
|
DESTDIR = $$absolute_path($${_PRO_FILE_PWD_}/../bin/release)
|
|
|
|
}
|
2023-03-17 14:05:27 +08:00
|
|
|
|
2023-03-17 22:59:21 +08:00
|
|
|
win32 {
|
|
|
|
contains(QT_ARCH, i386) {
|
2023-03-17 23:33:02 +08:00
|
|
|
COPYDLL = $$absolute_path($${_PRO_FILE_PWD_}/../third/Win_x86/*.dll) $$DESTDIR
|
2023-03-25 13:35:21 +08:00
|
|
|
contains(QMAKE_CC, cl) {
|
|
|
|
QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, \\)
|
|
|
|
} else {
|
|
|
|
QMAKE_PRE_LINK += $$QMAKE_COPY $$COPYDLL
|
|
|
|
}
|
2023-03-17 22:59:21 +08:00
|
|
|
} else {
|
2023-03-17 23:33:02 +08:00
|
|
|
COPYDLL = $$absolute_path($${_PRO_FILE_PWD_}/../third/Win_x64/*.dll) $$DESTDIR
|
2023-03-25 13:35:21 +08:00
|
|
|
contains(QMAKE_CC, cl) {
|
|
|
|
QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, \\)
|
|
|
|
} else {
|
|
|
|
QMAKE_PRE_LINK += $$QMAKE_COPY $$COPYDLL
|
|
|
|
}
|
2023-03-17 22:59:21 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-17 14:05:27 +08:00
|
|
|
HEADERS += \
|
|
|
|
ChatController.h
|