main
朱子楚\zhuzi 2023-03-17 22:59:21 +08:00
parent 4e95923847
commit f2bbbd5250
1 changed files with 13 additions and 0 deletions

View File

@ -26,5 +26,18 @@ CONFIG(debug,debug|release) {
DESTDIR = $$absolute_path($${_PRO_FILE_PWD_}/../bin/release) DESTDIR = $$absolute_path($${_PRO_FILE_PWD_}/../bin/release)
} }
win32 {
contains(QT_ARCH, i386) {
COPYDLL = $$absolute_path($${_PRO_FILE_PWD_}/../third/Win_x86/bin/*.dll) $$DESTDIR
QMAKE_POST_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, \\)
} else {
COPYDLL = $$absolute_path($${_PRO_FILE_PWD_}/../third/Win_x64/bin/*.dll) $$DESTDIR
QMAKE_POST_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, \\)
}
}
HEADERS += \ HEADERS += \
ChatController.h ChatController.h