Details
Description
In the Qt Project Settings, when I use a MocDirectory that contains the path ".\GeneratedFiles\$(ConfigurationName)-$(PlatformName)", the following will happen:
When editing a file.cpp that has to be moc'ed, then the moc_file.cpp will be excluded from build, as soon as the changes in the file are saved. In the VS Solution Explorer a STOP sign appears on the moc_file.cpp, and in the Properties of this file (accessed from the Solution Explorer), it says "Excluded From Build: Yes".
When I am in Debug build mode, this happens to the moc_file.cpp that is listed in the Solution Explorer Filter "Generated Files > Debug_Win32".
The result are linking errors, due to not linking the moc_file.cpp.
It happens with Qt Visual Studio Plugin 1.1.4 in VS 2005, and with plugin 1.1.7 in VS 2005 and VS 2010.
Attachments
Issue Links
- Is tested by
-
QTVSADDINBUG-36 create autotest for MocDir containing ConfigurationName and PlatformName
- Closed