summaryrefslogtreecommitdiffstats
path: root/src/declarative/extra/qmlbehaviour.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/extra/qmlbehaviour.cpp')
-rw-r--r--src/declarative/extra/qmlbehaviour.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/extra/qmlbehaviour.cpp b/src/declarative/extra/qmlbehaviour.cpp
index 7f82b1a..0e70bdc 100644
--- a/src/declarative/extra/qmlbehaviour.cpp
+++ b/src/declarative/extra/qmlbehaviour.cpp
@@ -48,7 +48,7 @@
QT_BEGIN_NAMESPACE
-QML_DEFINE_TYPE(Qt,4.6,Behavior,QmlBehaviour)
+QML_DEFINE_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,Behavior,QmlBehaviour)
class QmlBehaviourData : public QObject
{