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