From e7031fd7be7ccd6bc73e339c83ccd394c6649f26 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Mon, 11 Aug 2014 11:48:21 -0700 Subject: [PATCH] Fix windows install Copy platforms plugins to install --- QGCSetup.pri | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/QGCSetup.pri b/QGCSetup.pri index eea957199..0706e9273 100644 --- a/QGCSetup.pri +++ b/QGCSetup.pri @@ -191,6 +191,11 @@ WindowsBuild { QMAKE_POST_LINK += $$escape_expand(\\n) $$QMAKE_COPY \"$$COPY_FILE\" \"$$DESTDIR_WIN\" } + # Copy platform plugins + P_DIR = $$[QT_INSTALL_PLUGINS] + PLUGINS_DIR_WIN = $$replace(P_DIR, "/", "\\") + QMAKE_POST_LINK += $$escape_expand(\\n) $$QMAKE_COPY_DIR \"$$PLUGINS_DIR_WIN\\platforms\" \"$$DESTDIR_WIN\\platforms\" + ReleaseBuild { # Copy Visual Studio DLLs # Note that this is only done for release because the debugging versions of these DLLs cannot be redistributed. -- 2.22.0