diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2019-05-15 14:15:37 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@qt.io> | 2019-05-20 13:00:41 +0000 |
commit | bba44746f9f2cfca785a309deb056033ae0bea6e (patch) | |
tree | ef42f379e736a756add9846299e5e7ee85f19562 /src/corelib/plugin/qlibrary.cpp | |
parent | e6036cfc5ae1b0ab30ef3e23f0bb3362db32f1a1 (diff) |
Disable debug plugin check for MinGW
MinGW doesn't have a debug and a release version of the CRT like
Visual C++ does. Disabling the check would allow distribution
only of a Release build of Qt.
Change-Id: Iecfa753217af96ca74091cd1d47400632629abdb
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/corelib/plugin/qlibrary.cpp')
-rw-r--r-- | src/corelib/plugin/qlibrary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/plugin/qlibrary.cpp b/src/corelib/plugin/qlibrary.cpp index 0e32776c71..3aadd1a73b 100644 --- a/src/corelib/plugin/qlibrary.cpp +++ b/src/corelib/plugin/qlibrary.cpp @@ -74,7 +74,7 @@ QT_BEGIN_NAMESPACE # define QLIBRARY_AS_DEBUG true #endif -#if defined(Q_OS_UNIX) +#if defined(Q_OS_UNIX) || defined(Q_CC_MINGW) // We don't use separate debug and release libs on UNIX, so we want // to allow loading plugins, regardless of how they were built. # define QT_NO_DEBUG_PLUGIN_CHECK |