From 2f040fc6adea6606a0d8324be09da89f35ed0c62 Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Thu, 14 Nov 2013 20:01:41 +0100 Subject: [PATCH] QmlDesigner: Change version number of the puppet to 2 Change-Id: I0aafaf76a6d4d6edfd4c3ccc73b702edbbfaa385 Reviewed-by: Thomas Hartmann --- share/qtcreator/qml/qmlpuppet/qml2puppet/qml2puppetmain.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/share/qtcreator/qml/qmlpuppet/qml2puppet/qml2puppetmain.cpp b/share/qtcreator/qml/qmlpuppet/qml2puppet/qml2puppetmain.cpp index b11220810cb..ad9a1d4c7dd 100644 --- a/share/qtcreator/qml/qmlpuppet/qml2puppet/qml2puppetmain.cpp +++ b/share/qtcreator/qml/qmlpuppet/qml2puppet/qml2puppetmain.cpp @@ -33,6 +33,8 @@ #include #include +#include + #include #include @@ -110,7 +112,7 @@ int main(int argc, char *argv[]) } if (application.arguments().count() == 2 && application.arguments().at(1) == "--version") { - qDebug() << QCoreApplication::applicationVersion(); + std::cout << 2; return 0; }