1116301
From 30c7a6c6a874264800d398df8c3ec65f30707c92 Mon Sep 17 00:00:00 2001
1116301
From: Li Xinwei <1326710505@qq.com>
1116301
Date: Tue, 8 Dec 2020 15:36:01 +0800
1116301
Subject: [PATCH 17/28] Use load(qt_tool) for qmltime
1116301
1116301
The qmltime should be a tool, not a normal executable or an app.
1116301
1116301
Change-Id: I64c76877907297a6a817ba5903786bcc7fba8fdd
1116301
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
1116301
(cherry picked from commit e6e262da1423bcb7cfe3db9f83fe0df54483c8d4)
1116301
---
1116301
 tools/qmltime/qmltime.pro | 3 ++-
1116301
 1 file changed, 2 insertions(+), 1 deletion(-)
1116301
1116301
diff --git a/tools/qmltime/qmltime.pro b/tools/qmltime/qmltime.pro
1116301
index c915f6e8c1..366d90f75b 100644
1116301
--- a/tools/qmltime/qmltime.pro
1116301
+++ b/tools/qmltime/qmltime.pro
1116301
@@ -1,4 +1,3 @@
1116301
-TEMPLATE = app
1116301
 TARGET = qmltime
1116301
 QT += qml quick
1116301
 QT += quick-private
1116301
@@ -12,3 +11,5 @@ QMAKE_TARGET_DESCRIPTION = QML Time
1116301
 
1116301
 SOURCES += qmltime.cpp
1116301
 HEADERS += qmltime.h
1116301
+
1116301
+load(qt_tool)
1116301
-- 
1116301
2.31.1
1116301