summaryrefslogtreecommitdiffstats
path: root/tools/qml/qdeclarativetester.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-04-21 16:30:11 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-04-21 16:30:11 (GMT)
commita29627231a02ebf98645675acbd353618d1109d4 (patch)
tree20913c1c3e98d6047e71a3dc6f713b0c2f110b5c /tools/qml/qdeclarativetester.cpp
parent871d67bb95a816bcf10aca5ee90f8a044427a25d (diff)
downloadQt-a29627231a02ebf98645675acbd353618d1109d4.zip
Qt-a29627231a02ebf98645675acbd353618d1109d4.tar.gz
Qt-a29627231a02ebf98645675acbd353618d1109d4.tar.bz2
Fix versioning of Qt Declarative's in-built types
Since we aren't releasing for 4.6, all types are new in 4.7. Task-number: QTBUG-10081
Diffstat (limited to 'tools/qml/qdeclarativetester.cpp')
-rw-r--r--tools/qml/qdeclarativetester.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/qml/qdeclarativetester.cpp b/tools/qml/qdeclarativetester.cpp
index 6a6048a..9864df6 100644
--- a/tools/qml/qdeclarativetester.cpp
+++ b/tools/qml/qdeclarativetester.cpp
@@ -181,7 +181,7 @@ void QDeclarativeTester::save()
file.open(QIODevice::WriteOnly);
QTextStream ts(&file);
- ts << "import Qt.VisualTest 4.6\n\n";
+ ts << "import Qt.VisualTest 4.7\n\n";
ts << "VisualTest {\n";
int imgCount = 0;
@@ -398,10 +398,10 @@ void QDeclarativeTester::updateCurrentTime(int msec)
void QDeclarativeTester::registerTypes()
{
- qmlRegisterType<QDeclarativeVisualTest>("Qt.VisualTest", 4,6, "VisualTest");
- qmlRegisterType<QDeclarativeVisualTestFrame>("Qt.VisualTest", 4,6, "Frame");
- qmlRegisterType<QDeclarativeVisualTestMouse>("Qt.VisualTest", 4,6, "Mouse");
- qmlRegisterType<QDeclarativeVisualTestKey>("Qt.VisualTest", 4,6, "Key");
+ qmlRegisterType<QDeclarativeVisualTest>("Qt.VisualTest", 4,7, "VisualTest");
+ qmlRegisterType<QDeclarativeVisualTestFrame>("Qt.VisualTest", 4,7, "Frame");
+ qmlRegisterType<QDeclarativeVisualTestMouse>("Qt.VisualTest", 4,7, "Mouse");
+ qmlRegisterType<QDeclarativeVisualTestKey>("Qt.VisualTest", 4,7, "Key");
}
QT_END_NAMESPACE