diff options
author | Miguel Costa <miguel.costa@qt.io> | 2019-09-17 16:33:01 +0200 |
---|---|---|
committer | Miguel Costa <miguel.costa@qt.io> | 2019-09-18 09:18:40 +0000 |
commit | c56e99c22417a061e8d7090a6e4fba04a212e4df (patch) | |
tree | 3839ec09eb7dd14ab7a69f88300b151b42f8bceb /src/qttemplates/gui/gui.vcxproj | |
parent | 94f0425af0ccc9d73b4537c4b77f1adeebab5bbf (diff) |
Fix pre-compiled header not included by moc
Projects created with the option to use a pre-compiled header did not
add the option to include the pre-compiled header in the generated
meta-object code.
Task-number: QTVSADDINBUG-658
Change-Id: I0298132faaae6229a6af668fa386b95338fdb44a
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/qttemplates/gui/gui.vcxproj')
-rw-r--r-- | src/qttemplates/gui/gui.vcxproj | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qttemplates/gui/gui.vcxproj b/src/qttemplates/gui/gui.vcxproj index 089a98cb..27f5383f 100644 --- a/src/qttemplates/gui/gui.vcxproj +++ b/src/qttemplates/gui/gui.vcxproj @@ -90,6 +90,7 @@ </Target> $endif$ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|$Platform$'"> + $QtMoc$ <ClCompile> <MultiProcessorCompilation>true</MultiProcessorCompilation> $if$ ($QtWinRT$ == true) @@ -108,6 +109,7 @@ $endif$ </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|$Platform$'"> + $QtMoc$ <ClCompile> <MultiProcessorCompilation>true</MultiProcessorCompilation> $if$ ($QtWinRT$ == true) |