From 1105fff6961b22ee3d87206b5a190a7d0a76b3d5 Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Mon, 14 Oct 2019 18:44:06 +0100 Subject: [PATCH] Workaround for bug in Qt 5.12.5 --- mkspecs/features/copyfiles.pri | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mkspecs/features/copyfiles.pri b/mkspecs/features/copyfiles.pri index 871f1de2f..39069ba34 100644 --- a/mkspecs/features/copyfiles.pri +++ b/mkspecs/features/copyfiles.pri @@ -39,3 +39,6 @@ QMAKE_EXTRA_TARGETS += copy_files_cookie # relative paths were being treated as absolute, leading to qmake creating # empty directories in the root of the current drive. contains(TEMPLATE, "vc.*"):!build_pass:QMAKE_EXTRA_COMPILERS -= copy_files + +# Work around QTBUG-79178 +equals(TEMPLATE, vcsubdirs):QMAKE_EXTRA_COMPILERS -= copy_files