Fix build against Qt6 with GCC 7 / Linux

Add some missing includes for otherwise incomplete types.
Make LanguageServerProtocol::JsonObject's iterators and end() methods
public. Otherwise QMetaType fails for
LanguageServerProtocol::ServerCapabilities which is used in a signal
from LanguageClient.

Task-number: QTCREATORBUG-24098
Change-Id: Id7f8a4146afb927a8589fadaefe42f7fbca45dd3
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Eike Ziller
2020-11-04 13:02:21 +01:00
parent 3122a1bfc5
commit 6813d14872
2 changed files with 8 additions and 5 deletions

View File

@@ -28,6 +28,8 @@
#include "searchsymbols.h"
#include <coreplugin/find/ifindfilter.h>
#include <coreplugin/find/searchresultitem.h>
#include <coreplugin/find/searchresultwindow.h>
#include <QFutureWatcher>
#include <QPointer>