diff options
author | Andrew Knight <andrew.knight@digia.com> | 2014-03-09 23:27:34 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-10 15:04:11 +0100 |
commit | 50f8133a1a1eb434abafcca5335be706d4f0b694 (patch) | |
tree | 5139515a7e44e860a19b016c65ba139ea6ce8a76 /src/quick | |
parent | fe2de633f9b9454ec8a9c2a5874ad85f49d8d54d (diff) |
Remove several uses of module includes
Module includes are discouraged because they may increase compilation
time. While debugging a broken core module include header, a number
of module include infractions were discovered in qtdeclarative. Replace
them with their more specific counterparts.
Change-Id: I614e9a6aa2177f396e5289f3cdb3c35faa0202c9
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/quick')
-rw-r--r-- | src/quick/items/qquickspriteengine.cpp | 2 | ||||
-rw-r--r-- | src/quick/scenegraph/coreapi/qsgshaderrewriter.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/items/qquickspriteengine.cpp b/src/quick/items/qquickspriteengine.cpp index aa93d31cf7..e5bb577344 100644 --- a/src/quick/items/qquickspriteengine.cpp +++ b/src/quick/items/qquickspriteengine.cpp @@ -46,7 +46,7 @@ #include <QDebug> #include <QPainter> #include <QSet> -#include <QtGui> +#include <QtGui/qopengl.h> QT_BEGIN_NAMESPACE diff --git a/src/quick/scenegraph/coreapi/qsgshaderrewriter.cpp b/src/quick/scenegraph/coreapi/qsgshaderrewriter.cpp index 2849eff304..9ff0971774 100644 --- a/src/quick/scenegraph/coreapi/qsgshaderrewriter.cpp +++ b/src/quick/scenegraph/coreapi/qsgshaderrewriter.cpp @@ -39,7 +39,7 @@ ** ****************************************************************************/ -#include <QtCore> +#include <QtCore/QByteArray> #include <QtGui/QSurfaceFormat> // Duct Tape tokenizer for the purpose of parsing and rewriting |