From 9f4403284089dd93f65862da41fe699a17d2c999 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 4 Jul 2023 11:53:40 +0200 Subject: [PATCH] QtSupport: Use better value for remote QTDIR env variables It does not really seem to be used in earnetst anymore, but it shouldn't contain the scheme://host decoration. Change-Id: Ieba416e0a73d247d80d1c5cce79858b1896e13ea Reviewed-by: Eike Ziller --- src/plugins/qtsupport/baseqtversion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qtsupport/baseqtversion.cpp b/src/plugins/qtsupport/baseqtversion.cpp index dfc85ec0c77..a5d42a6394d 100644 --- a/src/plugins/qtsupport/baseqtversion.cpp +++ b/src/plugins/qtsupport/baseqtversion.cpp @@ -1612,7 +1612,7 @@ QSet QtVersion::features() const void QtVersion::addToEnvironment(const Kit *k, Environment &env) const { Q_UNUSED(k) - env.set("QTDIR", hostDataPath().toUserOutput()); + env.set("QTDIR", hostDataPath().nativePath()); } // Some Qt versions may require environment settings for qmake to work