summaryrefslogtreecommitdiff
path: root/src/libs/languageserverprotocol/jsonrpcmessages.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2022-02-23 17:11:20 +0100
committerEike Ziller <eike.ziller@qt.io>2022-02-25 07:19:58 +0000
commitf562ebf2396eb21f323d22778436fc9c75ce75e2 (patch)
treef6d09a04b56b26ab30563b68ff8553612abe0fcd /src/libs/languageserverprotocol/jsonrpcmessages.cpp
parent343a567e0776f7a96fd60410207d80effd61d479 (diff)
downloadqt-creator-f562ebf2396eb21f323d22778436fc9c75ce75e2.tar.gz
Mimetypes: Make implementation switchable between new and old
- configure with QTC_USE_NEW_MIMEDATABASE to switch to the new one in utils/mimetypes2/ - added utils/mimeutils.h header for the Qt Creator specific static wrappers, that also includes the "public" headers for MimeType et al from the new or old implementation, depending on configuration - change all utils/mimetypes/ includes to utils/mimeutils.h - move the implementation for the wrappers to utils/mimetypes(2)/mimeutils.cpp - also move the MimeDatabase declaration in the "old" implementation back to utils/mimetypes/mimedatabase.h Change-Id: Ie8de229c035d6cd9a5e4739dc0fa78d9c17228e3 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/libs/languageserverprotocol/jsonrpcmessages.cpp')
-rw-r--r--src/libs/languageserverprotocol/jsonrpcmessages.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libs/languageserverprotocol/jsonrpcmessages.cpp b/src/libs/languageserverprotocol/jsonrpcmessages.cpp
index 2b71d34a75..abd19f4b68 100644
--- a/src/libs/languageserverprotocol/jsonrpcmessages.cpp
+++ b/src/libs/languageserverprotocol/jsonrpcmessages.cpp
@@ -28,7 +28,6 @@
#include "lsputils.h"
#include "initializemessages.h"
-#include <utils/mimetypes/mimedatabase.h>
#include <utils/qtcassert.h>
#include <QCoreApplication>