summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-08-07 22:09:42 -0300
committerhjk <hjk121@nokiamail.com>2014-08-18 15:11:56 +0200
commit34d897165dddfde4d62037f1da85d41c1546406d (patch)
treeb55f2dea098d79a9117041fbd627dc28a1a23245
parent21e52edbfc2233e2a62de346a466c6ecd82c219c (diff)
downloadqt-creator-34d897165dddfde4d62037f1da85d41c1546406d.tar.gz
Fix the build: add missing #includes3.1
<QWidget> for QWidget, <QDataStream> for QDataStream and <QMetaObject> for Q_GADGET (technically, qobjectdefs.h) Change-Id: Ia7e8b12ff4c67827bb7782a0337714e330de1db1 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
-rw-r--r--share/qtcreator/qml/qmlpuppet/container/addimportcontainer.cpp1
-rw-r--r--src/libs/qmljs/qmljscodeformatter.h1
-rw-r--r--src/libs/utils/tooltip/tipcontents.h1
-rw-r--r--src/shared/qtsingleapplication/qtlocalpeer.cpp1
4 files changed, 4 insertions, 0 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/container/addimportcontainer.cpp b/share/qtcreator/qml/qmlpuppet/container/addimportcontainer.cpp
index d07078b3fb..7f18e59749 100644
--- a/share/qtcreator/qml/qmlpuppet/container/addimportcontainer.cpp
+++ b/share/qtcreator/qml/qmlpuppet/container/addimportcontainer.cpp
@@ -30,6 +30,7 @@
#include "addimportcontainer.h"
#include <QDebug>
+#include <QDataStream>
namespace QmlDesigner {
diff --git a/src/libs/qmljs/qmljscodeformatter.h b/src/libs/qmljs/qmljscodeformatter.h
index 0652e5f0c2..482fb103d6 100644
--- a/src/libs/qmljs/qmljscodeformatter.h
+++ b/src/libs/qmljs/qmljscodeformatter.h
@@ -38,6 +38,7 @@
#include <QStack>
#include <QList>
#include <QVector>
+#include <QMetaObject>
QT_BEGIN_NAMESPACE
class QTextDocument;
diff --git a/src/libs/utils/tooltip/tipcontents.h b/src/libs/utils/tooltip/tipcontents.h
index 5cac25ee19..897a8e46e1 100644
--- a/src/libs/utils/tooltip/tipcontents.h
+++ b/src/libs/utils/tooltip/tipcontents.h
@@ -34,6 +34,7 @@
#include <QString>
#include <QColor>
+#include <QWidget>
namespace Utils {
diff --git a/src/shared/qtsingleapplication/qtlocalpeer.cpp b/src/shared/qtsingleapplication/qtlocalpeer.cpp
index 09c69ce525..33cca898a0 100644
--- a/src/shared/qtsingleapplication/qtlocalpeer.cpp
+++ b/src/shared/qtsingleapplication/qtlocalpeer.cpp
@@ -30,6 +30,7 @@
#include "qtlocalpeer.h"
#include <QCoreApplication>
+#include <QDataStream>
#include <QTime>
#if defined(Q_OS_WIN)