From c43911022bb588c999c4efa2e3a74d8435f1dbe2 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 21 Feb 2023 15:11:23 +0100 Subject: [PATCH] Qnx: Baby steps towards remote compilation Change-Id: Idafb7a71fcbad85552cd0fa2bded9460d2132bef Reviewed-by: Christian Stenger --- src/plugins/qnx/qnxutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qnx/qnxutils.cpp b/src/plugins/qnx/qnxutils.cpp index 4a6627cc6bc..5737f028c71 100644 --- a/src/plugins/qnx/qnxutils.cpp +++ b/src/plugins/qnx/qnxutils.cpp @@ -61,7 +61,7 @@ EnvironmentItems QnxUtils::qnxEnvironmentFromEnvFile(const FilePath &filePath) if (!filePath.exists()) return items; - const bool isWindows = HostOsInfo::isWindowsHost(); + const bool isWindows = filePath.osType() == Utils::OsTypeWindows; // locking creating sdp-env file wrapper script TemporaryFile tmpFile("sdp-env-eval-XXXXXX" + QString::fromLatin1(isWindows ? ".bat" : ".sh"));