aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qtmsbuild/moc/qtmoc.targets15
-rw-r--r--src/qtmsbuild/uic/qtuic.targets15
2 files changed, 14 insertions, 16 deletions
diff --git a/src/qtmsbuild/moc/qtmoc.targets b/src/qtmsbuild/moc/qtmoc.targets
index 1a925eae..6101b55b 100644
--- a/src/qtmsbuild/moc/qtmoc.targets
+++ b/src/qtmsbuild/moc/qtmoc.targets
@@ -94,6 +94,13 @@
<QtMoc Include="@(QtMocAux)"/>
<QtMocAux Remove="@(QtMocAux)"/>
</ItemGroup>
+ <!--
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ // Add moc output dir to C++ include path
+ // -->
+ <ItemGroup>
+ <QtIncludePath Include="$([System.IO.Path]::GetDirectoryName('%(QtMoc.OutputFile)'))"/>
+ </ItemGroup>
</Target>
<!--
@@ -403,14 +410,6 @@
<!--
///////////////////////////////////////////////////////////////////////////////////////////////
- // Add moc output dir to C++ include path
- // -->
- <ItemGroup>
- <QtIncludePath Include="$([System.IO.Path]::GetDirectoryName('%(QtMoc.OutputFile)'))"/>
- </ItemGroup>
-
- <!--
- ///////////////////////////////////////////////////////////////////////////////////////////////
// Clean-up
// -->
<PropertyGroup>
diff --git a/src/qtmsbuild/uic/qtuic.targets b/src/qtmsbuild/uic/qtuic.targets
index 56c1c51a..a600504b 100644
--- a/src/qtmsbuild/uic/qtuic.targets
+++ b/src/qtmsbuild/uic/qtuic.targets
@@ -94,6 +94,13 @@
<QtUic Include="@(QtUicAux)"/>
<QtUicAux Remove="@(QtUicAux)"/>
</ItemGroup>
+ <!--
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ // Add uic output dir to C++ include path
+ // -->
+ <ItemGroup>
+ <QtIncludePath Include="$([System.IO.Path]::GetDirectoryName('%(QtUic.OutputFile)'))"/>
+ </ItemGroup>
</Target>
<!--
@@ -303,14 +310,6 @@
<!--
///////////////////////////////////////////////////////////////////////////////////////////////
- // Add uic output dir to C++ include path
- // -->
- <ItemGroup>
- <QtIncludePath Include="$([System.IO.Path]::GetDirectoryName('%(QtUic.OutputFile)'))"/>
- </ItemGroup>
-
- <!--
- ///////////////////////////////////////////////////////////////////////////////////////////////
// Clean-up
// -->
<PropertyGroup>