From f2bbbd5250ee6d96e7945a86b6296ebf716457ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Fri, 17 Mar 2023 22:59:21 +0800 Subject: [PATCH] update --- example/example.pro | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/example/example.pro b/example/example.pro index 6766eb92..1322b06d 100644 --- a/example/example.pro +++ b/example/example.pro @@ -26,5 +26,18 @@ CONFIG(debug,debug|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 += \ ChatController.h