diff options
author | Li Xinwei <1326710505@qq.com> | 2020-12-08 01:56:40 +0800 |
---|---|---|
committer | Li Xinwei <1326710505@qq.com> | 2020-12-08 02:34:59 +0800 |
commit | e6e262da1423bcb7cfe3db9f83fe0df54483c8d4 (patch) | |
tree | fd9d4fbd53139b18da670682e34e93d07fd2fbd2 /tools/qmltime/qmltime.pro | |
parent | 1febf3da07919d48c704b8fdf9dbf654fbcb8a34 (diff) |
Use load(qt_tool) and qt_internal_add_tool for qmltime
The qmltime should be a tool, not a normal executable or an app.
Pick-to: 6.0 5.15 5.12
Change-Id: I64c76877907297a6a817ba5903786bcc7fba8fdd
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tools/qmltime/qmltime.pro')
-rw-r--r-- | tools/qmltime/qmltime.pro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qmltime/qmltime.pro b/tools/qmltime/qmltime.pro index c915f6e8c1..366d90f75b 100644 --- a/tools/qmltime/qmltime.pro +++ b/tools/qmltime/qmltime.pro @@ -1,4 +1,3 @@ -TEMPLATE = app TARGET = qmltime QT += qml quick QT += quick-private @@ -12,3 +11,5 @@ QMAKE_TARGET_DESCRIPTION = QML Time SOURCES += qmltime.cpp HEADERS += qmltime.h + +load(qt_tool) |