summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-04-30 00:58:58 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-04-30 00:58:58 (GMT)
commit3ff9ff75f1caf9514dd43fb84826d57f2df91088 (patch)
treefde5da22f987b190d0f4e2e736764e272d5052ba /src
parent5fc59b64642b8af7b449770bae471a2a72bfa490 (diff)
downloadQt-3ff9ff75f1caf9514dd43fb84826d57f2df91088.zip
Qt-3ff9ff75f1caf9514dd43fb84826d57f2df91088.tar.gz
Qt-3ff9ff75f1caf9514dd43fb84826d57f2df91088.tar.bz2
Compile with QT_NO_GRAPHICSEFFECT.
Diffstat (limited to 'src')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
index 2945b6c..7c55009 100644
--- a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
@@ -143,7 +143,9 @@ void QDeclarativeItemModule::defineModule()
qmlRegisterType<QAction>();
qmlRegisterType<QDeclarativePen>();
qmlRegisterType<QDeclarativeFlickableVisibleArea>();
+#ifndef QT_NO_GRAPHICSEFFECT
qmlRegisterType<QGraphicsEffect>();
+#endif
qmlRegisterUncreatableType<QDeclarativeKeyNavigationAttached>("Qt",4,7,"KeyNavigation",QDeclarativeKeyNavigationAttached::tr("KeyNavigation is only available via attached properties"));
qmlRegisterUncreatableType<QDeclarativeKeysAttached>("Qt",4,7,"Keys",QDeclarativeKeysAttached::tr("Keys is only available via attached properties"));