From eee2eee734b4aa735d35f6c53d79c06c1c76425a Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 15 Apr 2014 15:59:08 +0200 Subject: Change slashes depending on host in examples. Task-number: QTBUG-38224 Change-Id: I3c7a3d0b3a47696aeb2eee799ae119419ea60713 Reviewed-by: Oswald Buddenhagen --- examples/sensors/grue/import/import.pro | 2 +- examples/sensors/sensor_explorer/import/import.pro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/sensors/grue/import/import.pro b/examples/sensors/grue/import/import.pro index 87e3c91..08b312d 100644 --- a/examples/sensors/grue/import/import.pro +++ b/examples/sensors/grue/import/import.pro @@ -31,7 +31,7 @@ copyfile = $$PWD/qmldir copydest = $$DESTDIR # On Windows, use backslashes as directory separators -win32: { +equals(QMAKE_HOST.os, Windows) { copyfile ~= s,/,\\,g copydest ~= s,/,\\,g } diff --git a/examples/sensors/sensor_explorer/import/import.pro b/examples/sensors/sensor_explorer/import/import.pro index 196c373..a5fe441 100644 --- a/examples/sensors/sensor_explorer/import/import.pro +++ b/examples/sensors/sensor_explorer/import/import.pro @@ -31,7 +31,7 @@ copyfile = $$PWD/qmldir copydest = $$DESTDIR # On Windows, use backslashes as directory separators -win32: { +equals(QMAKE_HOST.os, Windows) { copyfile ~= s,/,\\,g copydest ~= s,/,\\,g } -- cgit v1.2.1