From: Laszlo Agocs Date: Wed, 13 Aug 2014 08:23:04 +0000 (+0200) Subject: Avoid qmake warnings about wrong includes X-Git-Tag: v5.3.99+beta1~165 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=845cdcd783a5cb6064e6b4dd55372cf84f799dbd;p=platform%2Fupstream%2Fqtdeclarative.git 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 --- 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