Commit 9b7baaf9 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesinger.NodeInstances: Set version number

parent eef08c0b
......@@ -744,6 +744,8 @@ QObject *createComponent(const QString &componentPath, QDeclarativeContext *cont
tweakObjects(object);
component.completeCreate();
Q_ASSERT(QDeclarativeEngine::contextForObject(object));
return object;
}
......@@ -768,6 +770,8 @@ QObject *createPrimitive(const QString &typeName, int majorNumber, int minorNumb
if (object && context)
QDeclarativeEngine::setContextForObject(object, context);
Q_ASSERT(QDeclarativeEngine::contextForObject(object));
return object;
}
......
......@@ -52,6 +52,7 @@ int main(int argc, char *argv[])
QCoreApplication::setOrganizationName("Nokia");
QCoreApplication::setOrganizationDomain("nokia.com");
QCoreApplication::setApplicationName("QmlPuppet");
QCoreApplication::setApplicationVersion("1.0.0");
#ifdef ENABLE_QT_BREAKPAD
QtSystemExceptionHandler systemExceptionHandler;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment