From dcf68c2359b67eb725c46ae72774d311e114d27b Mon Sep 17 00:00:00 2001 From: Oleg Semyonov Date: Mon, 30 Jul 2012 00:03:01 +0300 Subject: [PATCH] AeroSimRC: fix MinGW DLL locations for Qt 4.8.1+ (4.8.0 compatible) --- .../src/plugins/hitlv2/aerosimrc/src/plugin.pro | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/hitlv2/aerosimrc/src/plugin.pro b/ground/openpilotgcs/src/plugins/hitlv2/aerosimrc/src/plugin.pro index b31d6881b..071559ef3 100644 --- a/ground/openpilotgcs/src/plugins/hitlv2/aerosimrc/src/plugin.pro +++ b/ground/openpilotgcs/src/plugins/hitlv2/aerosimrc/src/plugin.pro @@ -57,14 +57,20 @@ equals(copydata, 1) { # Qt DLLs QT_DLLS = \ - libgcc_s_dw2-1.dll \ - mingwm10.dll \ QtCore4.dll \ QtNetwork4.dll for(dll, QT_DLLS) { data_copy.commands += $(COPY_FILE) $$targetPath(\"$$[QT_INSTALL_BINS]/$$dll\") $$targetPath(\"$$SIM_DIR/$$dll\") $$addNewline() } + # MinGW DLLs + MINGW_DLLS = \ + libgcc_s_dw2-1.dll \ + mingwm10.dll + for(dll, MINGW_DLLS) { + data_copy.commands += $(COPY_FILE) $$targetPath(\"$$[QT_INSTALL_BINS]/../../../../../mingw/bin/$$dll\") $$targetPath(\"$$SIM_DIR/$$dll\") $$addNewline() + } + data_copy.target = FORCE QMAKE_EXTRA_TARGETS += data_copy }