Details
Description
In file qt.targets (C:\Users%USER%\AppData\Local\QtMsBuild\qt.targets):
<QtWorkFilePath>$(ProjectDir)$(IntDir)qt.txt</QtWorkFilePath>
So, if IntDir is an absolute path, I get an error:
The command "echo Moc'ing %FILE%...;C:\Qt\5.6\msvc2015_64\bin\moc.exe;"C:\Users%USER%\Source\Repos%PROJECT%\Kernel%FILE%" -o ".\GeneratedFiles\Debug\moc_%FILE%.cpp" "-I.\GeneratedFiles\Debug" "-I.\GeneratedFiles" "-I." "-I.\GeneratedFiles\Debug\." "-IC:\Qt\5.6\msvc2015_64\include\QtZlib" "-IC:\Qt\5.6\msvc2015_64\include" "-IC:\Qt\5.6\msvc2015_64\include\QtCore" -DQT_DLL -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DUNICODE -DWIN32 -D_WIN32 -DWIN64 -D_WIN64 >> "C:\Users%USER%\Source\Repos%PROJECT%\Kernel\C:\Users%USER%\Source\Repos%PROJECT%!Build\x64\Debug\Kernel\qt.txt"" exited with code 1. Kernel C:\Users%USER%\AppData\Local\QtMsBuild\qt.targets 64
If I change Intermediate Directory in project settings to relative path, all works fine.
Attachments
Issue Links
- is duplicated by
-
QTVSADDINBUG-518 Moc fails with changed temp build folder
- Closed
For Gerrit Dashboard: QTVSADDINBUG-511 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
222617,2 | Fix usage of $(IntDir) in the definition of QtWorkFilePath | dev | qt-labs/vstools | Status: MERGED | +2 | 0 |