summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/compat/removed_api.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/compat/removed_api.cpp b/src/corelib/compat/removed_api.cpp
index 96905cd5f92..d6d527fe500 100644
--- a/src/corelib/compat/removed_api.cpp
+++ b/src/corelib/compat/removed_api.cpp
@@ -1040,12 +1040,14 @@ bool QJsonValue::operator!=(const QJsonValue &other) const
#include "qline.h" // inlined API
+#if QT_CONFIG(mimetype)
#include "qmimetype.h"
bool QMimeType::operator==(const QMimeType &other) const
{
return comparesEqual(*this, other);
}
+#endif // QT_CONFIG(mimetype)
#include "qobject.h"
#include "qnumeric.h"