From e48c4134afcb8d4b33c3e965ce5d94e629982d2e Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 11 Aug 2016 15:46:45 +0200 Subject: Convert qtdeclarative over to use the new configure system Change-Id: I105d46e1a4e666f11c07ad63aa24a7c388da1be6 Reviewed-by: Oswald Buddenhagen --- src/qml/configure.json | 7 +++++++ src/qml/qtqmlglobal.h | 2 ++ src/qml/qtqmlglobal_p.h | 4 +++- src/quick/configure.json | 41 +++++++++++++++++++++++++++++++++++++++++ src/quick/qtquickglobal.h | 4 +++- src/quick/qtquickglobal_p.h | 4 ++++ 6 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 src/qml/configure.json create mode 100644 src/quick/configure.json (limited to 'src') diff --git a/src/qml/configure.json b/src/qml/configure.json new file mode 100644 index 0000000000..34b83ba9ff --- /dev/null +++ b/src/qml/configure.json @@ -0,0 +1,7 @@ +{ + "module": "qml", + "depends": [ + "core-private", + "network-private" + ] +} diff --git a/src/qml/qtqmlglobal.h b/src/qml/qtqmlglobal.h index 34191d06b2..8529e1f980 100644 --- a/src/qml/qtqmlglobal.h +++ b/src/qml/qtqmlglobal.h @@ -41,6 +41,8 @@ #define QTQMLGLOBAL_H #include +#include +#include QT_BEGIN_NAMESPACE diff --git a/src/qml/qtqmlglobal_p.h b/src/qml/qtqmlglobal_p.h index 1b0872298d..63585fd62e 100644 --- a/src/qml/qtqmlglobal_p.h +++ b/src/qml/qtqmlglobal_p.h @@ -51,7 +51,9 @@ // We mean it. // -#include "qtqmlglobal.h" +#include +#include +#include #if defined(QT_BUILD_QMLDEVTOOLS_LIB) || defined(QT_QMLDEVTOOLS_LIB) # define Q_QML_PRIVATE_EXPORT diff --git a/src/quick/configure.json b/src/quick/configure.json new file mode 100644 index 0000000000..de75873972 --- /dev/null +++ b/src/quick/configure.json @@ -0,0 +1,41 @@ +{ + "module": "quick", + "depends": [ + "qml-private", + "gui-private" + ], + + "commandline": { + "options": { + "d3d12": "boolean" + } + }, + + "tests": { + "d3d12": { + "label": "Direct3D 12", + "type": "compile", + "test": "d3d12" + } + }, + + "features": { + "d3d12": { + "label": "Direct3D 12", + "purpose": "Provides a Direct3D 12 backend for the Qt Quick Scenegraph", + "condition": "tests.d3d12", + "output": [ + "privateFeature" + ] + } + }, + + "summary": [ + { + "section": "Qt Quick", + "entries": [ + "d3d12" + ] + } + ] +} diff --git a/src/quick/qtquickglobal.h b/src/quick/qtquickglobal.h index f6f8f42e7f..5e83c1db84 100644 --- a/src/quick/qtquickglobal.h +++ b/src/quick/qtquickglobal.h @@ -40,7 +40,9 @@ #ifndef QTQUICKGLOBAL_H #define QTQUICKGLOBAL_H -#include +#include +#include +#include QT_BEGIN_NAMESPACE diff --git a/src/quick/qtquickglobal_p.h b/src/quick/qtquickglobal_p.h index 3c313de0a1..f6376a6d17 100644 --- a/src/quick/qtquickglobal_p.h +++ b/src/quick/qtquickglobal_p.h @@ -40,6 +40,10 @@ #ifndef QTQUICKGLOBAL_P_H #define QTQUICKGLOBAL_P_H +#include +#include +#include + #include // -- cgit v1.2.3