qmake's 'shell_path' return an altered path on Windows 10
-
Hello,
I'm facing a strange problem on my multi-platform project.
The project's qmake use "$$shell_path" to set some working paths.
It works fine on Linux, but on Windows return an altered path like this example:QIFROOT = C:\Qt\Tools\QtInstallerFramework\4.1
$$shell_path($$QIFROOT) returns:
/C/Qt/Tools/QtInstallerFramework/4.1This problems is present in every path set this way and I cannot build.
Can anybody help me?
-
@Merlino said in qmake's 'shell_path' return an altered path on Windows 10:
/C/Qt/Tools/QtInstallerFramework/4.1
Looks like a path in CygWin - do you have it installed on your system?
-
@Merlino said in qmake's 'shell_path' return an altered path on Windows 10:
CygWin is installed but seems not used.
It's for sure in your PATH env var.
-
@Christian-Ehrlicher I have checked the PATH variable, it's clean, no there isn't the path to cygwin :(
-
Hi,
Are you getting this result from within Qt Creator ?
If so, check the environment variables there as well.
-
@Merlino said in qmake's 'shell_path' return an altered path on Windows 10:
Maybe I've found a solution:
That's what I wrote in my post above...
-
@Christian-Ehrlicher yes thank you, now I know also what and why