summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-11-12 10:26:38 +0100
committerhjk <hjk@qt.io>2019-11-12 10:50:51 +0000
commit0120e462b268957171d8542b72b0ffb4a8777f7b (patch)
tree9ea99ff65db51a858ae9747ce8ba03dce1d28cfd /src/plugins/cppeditor
parent817f81cbfd562a45f4be63cee30c46f614021e9f (diff)
downloadqt-creator-0120e462b268957171d8542b72b0ffb4a8777f7b.tar.gz
Partial compile fix for current Qt dev and/or Qt 6
This does not cover Utils::MapReduceOption with QVector, and code that's not compiled on my machine. Change-Id: Ib63923985c52b1bb74e5ec2068a2bb37469ac618 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/cppeditor')
-rw-r--r--src/plugins/cppeditor/cpptypehierarchy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cpptypehierarchy.h b/src/plugins/cppeditor/cpptypehierarchy.h
index 24e7bb95ae..836f4ba028 100644
--- a/src/plugins/cppeditor/cpptypehierarchy.h
+++ b/src/plugins/cppeditor/cpptypehierarchy.h
@@ -27,6 +27,7 @@
#include <coreplugin/inavigationwidgetfactory.h>
+#include <QList>
#include <QString>
#include <QWidget>
#include <QStackedWidget>
@@ -37,7 +38,6 @@ class QLabel;
class QModelIndex;
class QStackedLayout;
class QStandardItem;
-template <class> class QList;
QT_END_NAMESPACE
namespace TextEditor { class TextEditorLinkLabel; }