2023-03-17 14:05:27 +08:00
|
|
|
QT += quick concurrent network
|
2023-03-06 18:08:01 +08:00
|
|
|
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-15 20:40:09 +08:00
|
|
|
RC_ICONS = favicon.ico
|
|
|
|
|
2023-03-07 23:56:55 +08:00
|
|
|
#qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
#else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
#!isEmpty(target.path): INSTALLS += target
|
2023-02-24 18:44:29 +08:00
|
|
|
|
2023-03-07 23:56:55 +08:00
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
|
|
|
QML_IMPORT_PATH =
|
|
|
|
|
|
|
|
# Additional import path used to resolve QML modules just for Qt Quick Designer
|
|
|
|
QML_DESIGNER_IMPORT_PATH =
|
|
|
|
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 {
|
|
|
|
|
2023-03-18 00:39:08 +08:00
|
|
|
|
2023-03-17 22:59:21 +08:00
|
|
|
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-18 00:39:08 +08:00
|
|
|
QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(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-18 00:39:08 +08:00
|
|
|
QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, \\)
|
2023-03-17 22:59:21 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-03-17 14:05:27 +08:00
|
|
|
HEADERS += \
|
|
|
|
ChatController.h
|