diff options
Diffstat (limited to 'src/plugins/qmakeprojectmanager/qmakestep.cpp')
-rw-r--r-- | src/plugins/qmakeprojectmanager/qmakestep.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qmakeprojectmanager/qmakestep.cpp b/src/plugins/qmakeprojectmanager/qmakestep.cpp index 56736c61802..40faa9a6195 100644 --- a/src/plugins/qmakeprojectmanager/qmakestep.cpp +++ b/src/plugins/qmakeprojectmanager/qmakestep.cpp @@ -155,7 +155,7 @@ QMakeStepConfig QMakeStep::deducedArguments() const targetAbi = tc->targetAbi(); if (HostOsInfo::isWindowsHost() && tc->typeId() == ProjectExplorer::Constants::CLANG_TOOLCHAIN_TYPEID) { - config.sysRoot = SysRootKitAspect::sysRoot(kit).toString(); + config.sysRoot = SysRootKitAspect::sysRoot(kit).toUrlishString(); config.targetTriple = tc->originalTargetTriple(); } } @@ -365,7 +365,7 @@ QString QMakeStep::effectiveQMakeCall() const if (make.isEmpty()) make = FilePath::fromPathPart(Tr::tr("<no Make step found>")); - QString result = qmake.toString(); + QString result = qmake.toUrlishString(); if (qtVersion) { QmakeBuildConfiguration *qmakeBc = qmakeBuildConfiguration(); const FilePath makefile = qmakeBc ? qmakeBc->makefile() : FilePath(); @@ -398,7 +398,7 @@ QString QMakeStep::mkspec() const const QStringList args = cmd.splitArguments(); const int pos = args.indexOf("-spec") + 1; if (pos > 0 && pos < args.size()) - return FilePath::fromUserInput(args[pos]).toString(); + return FilePath::fromUserInput(args[pos]).toUrlishString(); return QmakeKitAspect::effectiveMkspec(target()->kit()); } |