Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
2.5.1
-
None
-
e598178719c401152a151960d5662d111717306b
Description
The [System.IO.Path]::GetRandomFileName() in qt.props sometimes causes the temporary output folder to have a name with an lnk 'extension' (e.g. vb4ywx1c.lnk) which seems to confuse the qmake.
This random occurence happens roughly every 2 month in our Jenkins environment and always causes some confusion.
Here a part of the log output:
11>QtVars: The command "("E:\software\Qt\Qt5.11.2\5.11.2\msvc2017_32\bin\qmake.exe" "CONFIG -= debug release debug_and_release" "CONFIG += debug") 1> qtvars.log 2>&1" was terminated with code 1. 11>SomeProject.vcxproj : error : ERROR running qmake [E:\jenkins\workspace\SomeJob\SomePath\SomeProject.vcxproj] SomeProject.vcxproj : error : qmake: (E:\software\Qt\Qt5.11.2\5.11.2\msvc2017_32\bin\qmake.exe) [E:\jenkins\workspace\SomeJob\SomePath\SomeProject.vcxproj] SomeProject.vcxproj : error : qmake: $PWD=C:\Users\jenkins\AppData\Local\Temp\vb4ywx1c.lnk [E:\jenkins\workspace\SomeJob\SomePath\SomeProject.vcxproj] SomeProject.vcxproj : error : qmake: Usage: E:\software\Qt\Qt5.11.2\5.11.2\msvc2017_32\bin\qmake.exe [mode] [options] [files] [E:\jenkins\workspace\SomeJob\SomePath\SomeProject.vcxproj]
Attachments
Issue Links
- relates to
-
QTBUG-84980 qmake error if working dir ends with ".lnk"
- Reported