Details
Description
Hi,
i have some issues with the plugin when i Change the temporary build Folder (intermediate Folder, in english i think) for my project. I changed it from:
$(Platform)\$(Configuration)\
to:
$(SolutionDir)\build\$(ProjectName)\$(Platform)\$(Configuration)\
because i don't want to have alle the files in the project, but in a custom build folder which is linked to a ram drive.
After that Change, the project is not building. With 2.1 it was building. The reason is the moc step with writing the moc output to a "qt.txt" file.
The message is:
error MSB3721: Der Befehl "echo Moc'ing TestClass.h...;C:\Qt\5.9.3\msvc2017_64\bin\moc.exe;"C:\Source\QtTest\QtTest\TestClass.h" -o ".\GeneratedFiles\Debug\moc_TestClass.cpp" "-I." "-IC:\Qt\5.9.3\msvc2017_64\include" "-I.\GeneratedFiles\Debug\." "-IC:\Qt\5.9.3\msvc2017_64\include\QtCore" -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB >> "C:\Source\QtTest\QtTest\C:\Source\QtTest\\build\QtTest\x64\Debug\qt.txt"" wurde mit Code 1 beendet.
You can see that the path for the "qt.txt" file is completely wrong.
I attached a simple project for reproduction of the problem.
Kai
Attachments
Issue Links
- duplicates
-
QTVSADDINBUG-511 QtWorkFilePath wrong macro expansion with absolute path
-
- Closed
-