From 845cdcd783a5cb6064e6b4dd55372cf84f799dbd Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Wed, 13 Aug 2014 10:23:04 +0200 Subject: [PATCH] Avoid qmake warnings about wrong includes QtQuick: WARNING: qquickwindow.h includes qqml.h when it should include QtQml/qqml.h QtQuick: WARNING: qsgabstractrenderer.h includes qsgnode.h when it should include QtQuick/qsgnode.h Change-Id: I3b9dc20de54ef775c562b2c6b80184a7b3149586 Reviewed-by: Jocelyn Turcotte --- src/quick/items/qquickwindow.h | 2 +- src/quick/scenegraph/coreapi/qsgabstractrenderer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/quick/items/qquickwindow.h b/src/quick/items/qquickwindow.h index 89780e4..a714d2f 100644 --- a/src/quick/items/qquickwindow.h +++ b/src/quick/items/qquickwindow.h @@ -47,7 +47,7 @@ #include #include #include -#include +#include QT_BEGIN_NAMESPACE diff --git a/src/quick/scenegraph/coreapi/qsgabstractrenderer.h b/src/quick/scenegraph/coreapi/qsgabstractrenderer.h index 671d62e..e169671 100644 --- a/src/quick/scenegraph/coreapi/qsgabstractrenderer.h +++ b/src/quick/scenegraph/coreapi/qsgabstractrenderer.h @@ -42,7 +42,7 @@ #ifndef QSGABSTRACTRENDERER_H #define QSGABSTRACTRENDERER_H -#include "qsgnode.h" +#include QT_BEGIN_NAMESPACE -- 2.7.4