1From 34071f47bb5a0b1617e8cc97d8259899f7e96f9f Mon Sep 17 00:00:00 2001 2From: ansar-rasool <ansar_rasool@mentor.com> 3Date: Wed, 22 Sep 2021 10:50:42 +0500 4Subject: [PATCH] qtsystems: install files only once 5 6This fixes build error for qtsystems when it tries to 7install files multiple times and fails with error of 8"Destination file exists". 9 10Upstream-Status: Pending 11Signed-off-by: ansar-rasool <ansar_rasool@mentor.com> 12--- 13 examples/systeminfo/inputinfo/inputinfo.pro | 3 +-- 14 examples/systeminfo/qml-battery/qml-battery.pro | 3 +-- 15 examples/systeminfo/qml-deviceinfo/qml-deviceinfo.pro | 3 +-- 16 examples/systeminfo/qml-inputinfo/qml-inputinfo.pro | 3 +-- 17 4 files changed, 4 insertions(+), 8 deletions(-) 18 19diff --git a/examples/systeminfo/inputinfo/inputinfo.pro b/examples/systeminfo/inputinfo/inputinfo.pro 20index a5365fa..d0947e8 100644 21--- a/examples/systeminfo/inputinfo/inputinfo.pro 22+++ b/examples/systeminfo/inputinfo/inputinfo.pro 23@@ -22,5 +22,4 @@ HEADERS += \ 24 inputtest.h 25 26 target.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/inputinfo 27- app.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/inputinfo 28- INSTALLS += target app 29+INSTALLS += target 30diff --git a/examples/systeminfo/qml-battery/qml-battery.pro b/examples/systeminfo/qml-battery/qml-battery.pro 31index e9e3700..7c35d53 100644 32--- a/examples/systeminfo/qml-battery/qml-battery.pro 33+++ b/examples/systeminfo/qml-battery/qml-battery.pro 34@@ -7,8 +7,7 @@ app.files = \ 35 $$files(*.qml) \ 36 37 target.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/qml-battery 38-app.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/qml-battery 39-INSTALLS += target app 40+INSTALLS += target 41 42 RESOURCES += \ 43 qml-battery.qrc 44diff --git a/examples/systeminfo/qml-deviceinfo/qml-deviceinfo.pro b/examples/systeminfo/qml-deviceinfo/qml-deviceinfo.pro 45index 4a39200..a942272 100644 46--- a/examples/systeminfo/qml-deviceinfo/qml-deviceinfo.pro 47+++ b/examples/systeminfo/qml-deviceinfo/qml-deviceinfo.pro 48@@ -7,8 +7,7 @@ app.files = \ 49 $$files(*.qml) 50 51 target.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/qml-deviceinfo 52-app.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/qml-deviceinfo 53-INSTALLS += target app 54+INSTALLS += target 55 56 RESOURCES += \ 57 qml-deviceinfo.qrc 58diff --git a/examples/systeminfo/qml-inputinfo/qml-inputinfo.pro b/examples/systeminfo/qml-inputinfo/qml-inputinfo.pro 59index 4b49738..0a389e3 100644 60--- a/examples/systeminfo/qml-inputinfo/qml-inputinfo.pro 61+++ b/examples/systeminfo/qml-inputinfo/qml-inputinfo.pro 62@@ -7,8 +7,7 @@ app.files = \ 63 $$files(*.qml) \ 64 65 target.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/qml-inputinfo 66-app.path = $$[QT_INSTALL_EXAMPLES]/systeminfo/qml-inputinfo 67-INSTALLS += target app 68+INSTALLS += target 69 70 RESOURCES += \ 71 qml-inputinfo.qrc 72