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>
This commit is contained in:
parent
e6036cfc5a
commit
bba44746f9
@ -74,7 +74,7 @@ QT_BEGIN_NAMESPACE
|
|||||||
# define QLIBRARY_AS_DEBUG true
|
# define QLIBRARY_AS_DEBUG true
|
||||||
#endif
|
#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
|
// We don't use separate debug and release libs on UNIX, so we want
|
||||||
// to allow loading plugins, regardless of how they were built.
|
// to allow loading plugins, regardless of how they were built.
|
||||||
# define QT_NO_DEBUG_PLUGIN_CHECK
|
# define QT_NO_DEBUG_PLUGIN_CHECK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user