summaryrefslogtreecommitdiff
path: root/sync.profile
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-11-23 15:14:07 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-02 14:18:20 +0100
commit6c8378eaf1edbbefe6aaa3672b0127816a004fd7 (patch)
tree8ee08fb447e052f7a7a685fbeaaa04f04ea60126 /sync.profile
parente01219b77b1e889e70437635905d7ff820568e23 (diff)
downloadqtdeclarative-6c8378eaf1edbbefe6aaa3672b0127816a004fd7.tar.gz
Say hello to QtQuick module
This change moves the QtQuick 2 types and C++ API (including SceneGraph) to a new module (AKA library), QtQuick. 99% of this change is moving files from src/declarative to src/quick, and from tests/auto/declarative to tests/auto/qtquick2. The loading of QtQuick 2 ("import QtQuick 2.0") is now delegated to a plugin, src/imports/qtquick2, just like it's done for QtQuick 1. All tools, examples, and tests that use QtQuick C++ API have gotten "QT += quick" or "QT += quick-private" added to their .pro file. A few additional internal QtDeclarative classes had to be exported (via Q_DECLARATIVE_PRIVATE_EXPORT) since they're needed by the QtQuick 2 implementation. The old header locations (e.g. QtDeclarative/qquickitem.h) will still be supported for some time, but will produce compile-time warnings. (To avoid the QtQuick implementation using the compatibility headers (since QtDeclarative's includepath comes first), a few include statements were modified, e.g. from "#include <qsgnode.h>" to "#include <QtQuick/qsgnode.h>".) There's a change in qtbase that automatically adds QtQuick to the module list if QtDeclarative is used. Together with the compatibility headers, this should help reduce the migration pain for existing projects. In theory, simply getting an existing QtDeclarative-based project to compile and link shouldn't require any changes for now -- but porting to the new scheme is of course recommended, and will eventually become mandatory. Task-number: QTBUG-22889 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Change-Id: Ia52be9373172ba2f37e7623231ecb060316c96a7 Reviewed-by: Kent Hansen <kent.hansen@nokia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'sync.profile')
-rw-r--r--sync.profile83
1 files changed, 83 insertions, 0 deletions
diff --git a/sync.profile b/sync.profile
index 55c3cdbad3..1b49f58b56 100644
--- a/sync.profile
+++ b/sync.profile
@@ -1,5 +1,6 @@
%modules = ( # path to module name map
"QtDeclarative" => "$basedir/src/declarative",
+ "QtQuick" => "$basedir/src/quick",
"QtQuick1" => "$basedir/src/qtquick1",
"QtQuickTest" => "$basedir/src/qmltest",
"QtQmlDevTools" => "$basedir/src/qmldevtools",
@@ -18,10 +19,92 @@
);
%modulepris = (
"QtDeclarative" => "$basedir/modules/qt_declarative.pri",
+ "QtQuick" => "$basedir/modules/qt_quick.pri",
"QtQuick1" => "$basedir/modules/qt_qtquick1.pri",
"QtQuickTest" => "$basedir/modules/qt_qmltest.pri",
"QtQmlDevTools" => "$basedir/modules/qt_qmldevtools.pri",
);
+%deprecatedheaders = (
+ "QtDeclarative" => {
+ "qquickcanvas.h" => "QtQuick/qquickcanvas.h",
+ "qquickitem.h" => "QtQuick/qquickitem.h",
+ "qquickpainteditem.h" => "QtQuick/qquickpainteditem.h",
+ "qquickview.h" => "QtQuick/qquickview.h",
+ "QQuickCanvas" => "QtQuick/QQuickCanvas",
+ "QQuickItem" => "QtQuick/QQuickItem",
+ "QQuickPaintedItem" => "QtQuick/QQuickPaintedItem",
+ "QQuickView" => "QtQuick/QQuickView",
+ "QQuickTransform" => "QtQuick/QQuickTransform",
+ "designersupport.h" => "QtQuick/designersupport.h",
+ "qsgengine.h" => "QtQuick/qsgengine.h",
+ "qsgflatcolormaterial.h" => "QtQuick/qsgflatcolormaterial.h",
+ "qsggeometry.h" => "QtQuick/qsggeometry.h",
+ "qsgmaterial.h" => "QtQuick/qsgmaterial.h",
+ "qsgnode.h" => "QtQuick/qsgnode.h",
+ "qsgsimplematerial.h" => "QtQuick/qsgsimplematerial.h",
+ "qsgsimplerectnode.h" => "QtQuick/qsgsimplerectnode.h",
+ "qsgsimpletexturenode.h" => "QtQuick/qsgsimpletexturenode.h",
+ "qsgtexture.h" => "QtQuick/qsgtexture.h",
+ "qsgtexturematerial.h" => "QtQuick/qsgtexturematerial.h",
+ "qsgvertexcolormaterial.h" => "QtQuick/qsgvertexcolormaterial.h",
+ "QSGBasicGeometryNode" => "QtQuick/QSGBasicGeometryNode",
+ "QSGClipNode" => "QtQuick/QSGClipNode",
+ "QSGDynamicTexture" => "QtQuick/QSGDynamicTexture",
+ "QSGEngine" => "QtQuick/QSGEngine",
+ "QSGFlatColorMaterial" => "QtQuick/QSGFlatColorMaterial",
+ "QSGGeometry" => "QtQuick/QSGGeometry",
+ "QSGGeometryNode" => "QtQuick/QSGGeometryNode",
+ "QSGMaterial" => "QtQuick/QSGMaterial",
+ "QSGMaterialShader" => "QtQuick/QSGMaterialShader",
+ "QSGMaterialType" => "QtQuick/QSGMaterialType",
+ "QSGNode" => "QtQuick/QSGNode",
+ "QSGNodeVisitor" => "QtQuick/QSGNodeVisitor",
+ "QSGOpacityNode" => "QtQuick/QSGOpacityNode",
+ "QSGOpaqueTextureMaterial" => "QtQuick/QSGOpaqueTextureMaterial",
+ "QSGRootNode" => "QtQuick/QSGRootNode",
+ "QSGSimpleMaterial" => "QtQuick/QSGSimpleMaterial",
+ "QSGSimpleMaterialComparableMaterial" => "QtQuick/QSGSimpleMaterialComparableMaterial",
+ "QSGSimpleMaterialShader" => "QtQuick/QSGSimpleMaterialShader",
+ "QSGSimpleRectNode" => "QtQuick/QSGSimpleRectNode",
+ "QSGSimpleTextureNode" => "QtQuick/QSGSimpleTextureNode",
+ "QSGTexture" => "QtQuick/QSGTexture",
+ "QSGTextureMaterial" => "QtQuick/QSGTextureMaterial",
+ "QSGTransformNode" => "QtQuick/QSGTransformNode",
+ "QSGVertexColorMaterial" => "QtQuick/QSGVertexColorMaterial",
+ "qquickanchors_p.h" => "QtQuick/private/qquickanchors_p.h",
+ "qquickcanvasitem_p.h" => "QtQuick/private/qquickcanvasitem_p.h",
+ "qquickcontext2d_p.h" => "QtQuick/private/qquickcontext2d_p.h",
+ "qquickevents_p_p.h" => "QtQuick/private/qquickevents_p_p.h",
+ "qquickmousearea_p.h" => "QtQuick/private/qquickmousearea_p.h",
+ "qquickpositioners_p.h" => "QtQuick/private/qquickpositioners_p.h",
+ "qquickrectangle_p.h" => "QtQuick/private/qquickrectangle_p.h",
+ "qquickscalegrid_p.h" => "QtQuick/private/qquickscalegrid_p.h",
+ "qquickshadereffectmesh_p.h" => "QtQuick/private/qquickshadereffectmesh_p.h",
+ "qquickshadereffectsource_p.h" => "QtQuick/private/qquickshadereffectsource_p.h",
+ "qquicktext_p.h" => "QtQuick/private/qquicktext_p.h",
+ "qquickvisualdatamodel_p.h" => "QtQuick/private/qquickvisualdatamodel_p.h",
+ "qsgnodeupdater_p.h" => "QtQuick/private/qsgnodeupdater_p.h",
+ "qsgrenderer_p.h" => "QtQuick/private/qsgrenderer_p.h",
+ "qsgadaptionlayer_p.h" => "QtQuick/private/qsgadaptionlayer_p.h",
+ "qsgcontext_p.h" => "QtQuick/private/qsgcontext_p.h",
+ "qsgcontextplugin_p.h" => "QtQuick/private/qsgcontextplugin_p.h",
+ "qsgdefaultdistancefieldglyphcache_p.h" => "QtQuick/private/qsgdefaultdistancefieldglyphcache_p.h",
+ "qsgareaallocator_p.h" => "QtQuick/private/qsgareaallocator_p.h",
+ "qsgdistancefieldutil_p.h" => "QtQuick/private/qsgdistancefieldutil_p.h",
+ "qsgpainternode_p.h" => "QtQuick/private/qsgpainternode_p.h",
+ "qsgtexture_p.h" => "QtQuick/private/qsgtexture_p.h",
+ "qsgtexturematerial_p.h" => "QtQuick/private/qsgtexturematerial_p.h",
+ "qsgtextureprovider_p.h" => "QtQuick/private/qsgtextureprovider_p.h",
+ "qdeclarativeanimation_p.h" => "QtQuick/private/qdeclarativeanimation_p.h",
+ "qdeclarativebehavior_p.h" => "QtQuick/private/qdeclarativebehavior_p.h",
+ "qdeclarativepixmapcache_p.h" => "QtQuick/private/qdeclarativepixmapcache_p.h",
+ "qdeclarativepropertychanges_p.h" => "QtQuick/private/qdeclarativepropertychanges_p.h",
+ "qdeclarativestate_p.h" => "QtQuick/private/qdeclarativestate_p.h",
+ "qdeclarativestategroup_p.h" => "QtQuick/private/qdeclarativestategroup_p.h",
+ "qdeclarativetimer_p.h" => "QtQuick/private/qdeclarativetimer_p.h",
+ "qdeclarativetransition_p.h" => "QtQuick/private/qdeclarativetransition_p.h",
+ }
+);
# Module dependencies.
# Every module that is required to build this module should have one entry.
# Each of the module version specifiers can take one of the following values: