summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/sensors/grue/import/import.pro2
-rw-r--r--examples/sensors/sensor_explorer/import/import.pro2
2 files changed, 2 insertions, 2 deletions
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
}