aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/quick/tutorials/gettingStartedQml/filedialog/filedialog.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/tutorials/gettingStartedQml/filedialog/filedialog.pro b/examples/quick/tutorials/gettingStartedQml/filedialog/filedialog.pro
index 0886f37b1f..468c0a0d92 100644
--- a/examples/quick/tutorials/gettingStartedQml/filedialog/filedialog.pro
+++ b/examples/quick/tutorials/gettingStartedQml/filedialog/filedialog.pro
@@ -24,7 +24,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
}