diff options
Diffstat (limited to 'tools/qml/main.cpp')
-rw-r--r-- | tools/qml/main.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/qml/main.cpp b/tools/qml/main.cpp index cba5650..9ccc3d2 100644 --- a/tools/qml/main.cpp +++ b/tools/qml/main.cpp @@ -198,7 +198,7 @@ int main(int argc, char ** argv) #endif QApplication app(argc, argv); - app.setApplicationName("viewer"); + app.setApplicationName("QtQmlRuntime"); app.setOrganizationName("Nokia"); app.setOrganizationDomain("nokia.com"); @@ -281,7 +281,7 @@ int main(int argc, char ** argv) if (lastArg) usage(); app.setStartDragDistance(QString(argv[++i]).toInt()); } else if (arg == QLatin1String("-v") || arg == QLatin1String("-version")) { - qWarning("Qt Declarative UI Viewer version %s", QT_VERSION_STR); + qWarning("Qt Qml Runtime version %s", QT_VERSION_STR); exit(0); } else if (arg == "-translation") { if (lastArg) usage(); @@ -389,8 +389,6 @@ int main(int argc, char ** argv) usage(); } - viewer->addLibraryPath(QCoreApplication::applicationDirPath()); - foreach (QString lib, imports) viewer->addLibraryPath(lib); |