summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSarah Smith <sarah.j.smith@nokia.com>2011-07-15 17:19:20 +1000
committerSarah Jane Smith <sarasmit@codereview.qt.nokia.com>2011-07-18 01:05:33 +0200
commit88c2dfa9860f45330108d094f3cb65e66ee0d1d1 (patch)
treef9e6fb26172aeaf3075f6ae284379192d6446d9f
parent85c45b7146b73e29d7f176418fd44ae61acd9b30 (diff)
Add qt5 modularization stuff.
Change-Id: I8cbccbbb253f1c83d692aa92056774d70e7f0a7f Reviewed-on: http://codereview.qt.nokia.com/1720 Reviewed-by: Sarah Jane Smith
-rw-r--r--modules/qt_qt3d.pri17
-rw-r--r--modules/qt_qt3dquick.pri17
-rw-r--r--sync.profile32
3 files changed, 66 insertions, 0 deletions
diff --git a/modules/qt_qt3d.pri b/modules/qt_qt3d.pri
new file mode 100644
index 000000000..de98855ff
--- /dev/null
+++ b/modules/qt_qt3d.pri
@@ -0,0 +1,17 @@
+QT.qt3d.VERSION = 5.0.0
+QT.qt3d.MAJOR_VERSION = 5
+QT.qt3d.MINOR_VERSION = 0
+QT.qt3d.PATCH_VERSION = 0
+
+QT.qt3d.name = Qt3D
+QT.qt3d.bins = $$QT_MODULE_BIN_BASE
+QT.qt3d.includes = $$QT_MODULE_INCLUDE_BASE $$QT_MODULE_INCLUDE_BASE/Qt3D
+QT.qt3d.private_includes = $$QT_MODULE_INCLUDE_BASE/Qt3D/$$QT.qt3d.VERSION
+QT.qt3d.sources = $$QT_MODULE_BASE/src/qt3d
+QT.qt3d.libs = $$QT_MODULE_LIB_BASE
+QT.qt3d.plugins = $$QT_MODULE_PLUGIN_BASE
+QT.qt3d.imports = $$QT_MODULE_IMPORT_BASE
+QT.qt3d.depends = gui opengl
+QT.qt3d.DEFINES = QT_QT3D_LIB
+
+QT_CONFIG += qt3d
diff --git a/modules/qt_qt3dquick.pri b/modules/qt_qt3dquick.pri
new file mode 100644
index 000000000..32fd7e5fb
--- /dev/null
+++ b/modules/qt_qt3dquick.pri
@@ -0,0 +1,17 @@
+QT.quick3d.VERSION = 5.0.0
+QT.quick3d.MAJOR_VERSION = 5
+QT.quick3d.MINOR_VERSION = 0
+QT.quick3d.PATCH_VERSION = 0
+
+QT.quick3d.name = Qt3DQuick
+QT.quick3d.bins = $$QT_MODULE_BIN_BASE
+QT.quick3d.includes = $$QT_MODULE_INCLUDE_BASE $$QT_MODULE_INCLUDE_BASE/Qt3DQuick
+QT.quick3d.private_includes = $$QT_MODULE_INCLUDE_BASE/QtSensors/$$QT.quick3d.VERSION
+QT.quick3d.sources = $$QT_MODULE_BASE/src/quick3d
+QT.quick3d.libs = $$QT_MODULE_LIB_BASE
+QT.quick3d.plugins = $$QT_MODULE_PLUGIN_BASE
+QT.quick3d.imports = $$QT_MODULE_IMPORT_BASE
+QT.quick3d.depends = gui opengl declarative network
+QT.quick3d.DEFINES = QT_QT3DQUICK_LIB
+
+QT_CONFIG += quick3d
diff --git a/sync.profile b/sync.profile
new file mode 100644
index 000000000..9af7190c6
--- /dev/null
+++ b/sync.profile
@@ -0,0 +1,32 @@
+%modules = ( # path to module name map
+ "Qt3D" => "$basedir/src/threed",
+ "Qt3DQuick" => "$basedir/src/quick3d",
+);
+%moduleheaders = ( # restrict the module headers to those found in relative path
+);
+%classnames = (
+ "qtquick3dversion.h" => "QtQuick3DVersion",
+);
+%mastercontent = (
+ "core" => "#include <QtCore/QtCore>\n",
+ "gui" => "#include <QtGui/QtGui>\n",
+ "opengl" => "#include <QtOpenGL/QtOpenGL>\n",
+ "declarative" => "#include <QtDeclarative/QDeclarative>\n",
+ "network" => "#include <QtNetwork/QtNetwork>\n"
+);
+%modulepris = (
+ "Qt3D" => "$basedir/modules/qt_qt3d.pri",
+ "Qt3DQuick" => "$basedir/modules/qt_qt3dquick.pri",
+);
+# Modules and programs, and their dependencies.
+# Each of the module version specifiers can take one of the following values:
+# - A specific Git revision.
+# - "LATEST_REVISION", to always test against the latest revision.
+# - "LATEST_RELEASE", to always test against the latest public release.
+# - "THIS_REPOSITORY", to indicate that the module is in this repository.
+%dependencies = (
+ "Qt3D" => {
+ "QtCore" => "0c637cb07ba3c9b353e7e483a209537485cc4e2a",
+ "QtDeclarative" => "0c637cb07ba3c9b353e7e483a209537485cc4e2a",
+ },
+);