diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-04-30 00:58:58 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-04-30 00:58:58 (GMT) |
commit | 3ff9ff75f1caf9514dd43fb84826d57f2df91088 (patch) | |
tree | fde5da22f987b190d0f4e2e736764e272d5052ba /src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp | |
parent | 5fc59b64642b8af7b449770bae471a2a72bfa490 (diff) | |
download | Qt-3ff9ff75f1caf9514dd43fb84826d57f2df91088.zip Qt-3ff9ff75f1caf9514dd43fb84826d57f2df91088.tar.gz Qt-3ff9ff75f1caf9514dd43fb84826d57f2df91088.tar.bz2 |
Compile with QT_NO_GRAPHICSEFFECT.
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp | 2 |
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")); |