From 4d289edb14aeb4976218cc306bfc514e37521b82 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 22 Jul 2019 10:45:26 +0200 Subject: Disable debug-and-release builds for MinGW MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The requirement to separate debug and release DLLs on Windows stems from the Visual Studio C run-time library appearing in two different variants (debug and release) and not mixing well. It's possible to perform builds without optimzations and with debug symbols while linking against the release version of the C run-time, but at the same time the debug version of the run-time brings other developer visible advantages. MinGW on the other hand does not have this distinction, does not ship with separate DLLS and does also not require the VS C runtime library. Therefore we do not need this separation for MinGW, which means that our packages can be reduced in size and application developers wishing to debug their applications do not have to use debug builds of the Qt libraries or run into Qt internal debug code. Task-number: QTBUG-78445 Change-Id: Idf588606091298dc44262c4c89e689df18d34747 Reviewed-by: Cristian Adam Reviewed-by: Jörg Bornemann --- src/angle/src/config.pri | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/angle/src/config.pri b/src/angle/src/config.pri index cafae0e742..af53d4c621 100644 --- a/src/angle/src/config.pri +++ b/src/angle/src/config.pri @@ -53,6 +53,7 @@ CONFIG(debug, debug|release) { } !isEmpty(BUILD_PASS): BUILDSUBDIR = $$lower($$BUILD_PASS)/ +else: BUILDSUBDIR = $$PWD/ # c++11 is needed by MinGW to get support for unordered_map. CONFIG += stl exceptions c++11 c++14 -- cgit v1.2.3