diff options
Diffstat (limited to 'tools/qml')
-rw-r--r-- | tools/qml/main.cpp | 4 | ||||
-rw-r--r-- | tools/qml/qml.pro | 9 |
2 files changed, 3 insertions, 10 deletions
diff --git a/tools/qml/main.cpp b/tools/qml/main.cpp index 9b5fcc74c2..83680a5ba1 100644 --- a/tools/qml/main.cpp +++ b/tools/qml/main.cpp @@ -134,7 +134,7 @@ class LoaderApplication : public QGuiApplication public: LoaderApplication(int& argc, char **argv) : QGuiApplication(argc, argv) {} - bool event(QEvent *ev) + bool event(QEvent *ev) override { if (ev->type() == QEvent::FileOpen) { if (exitTimerId >= 0) { @@ -148,7 +148,7 @@ public: return true; } - void timerEvent(QTimerEvent *) { + void timerEvent(QTimerEvent *) override { noFilesGiven(); } }; diff --git a/tools/qml/qml.pro b/tools/qml/qml.pro index d0083c0e78..3aa8af18bc 100644 --- a/tools/qml/qml.pro +++ b/tools/qml/qml.pro @@ -6,14 +6,7 @@ HEADERS += conf.h SOURCES += main.cpp RESOURCES += qml.qrc -QMAKE_TARGET_PRODUCT = qml -QMAKE_TARGET_DESCRIPTION = Utility that loads and displays QML documents - -win32 { - VERSION = $${QT_VERSION}.0 -} else { - VERSION = $${QT_VERSION} -} +QMAKE_TARGET_DESCRIPTION = QML Runtime mac { OTHER_FILES += Info.plist |