diff options
Diffstat (limited to 'VS8QtRules.rules')
-rwxr-xr-x | VS8QtRules.rules | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/VS8QtRules.rules b/VS8QtRules.rules new file mode 100755 index 0000000..cdb6162 --- /dev/null +++ b/VS8QtRules.rules @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<VisualStudioToolFile + Name="Qt-Rules" + Version="8,00" + > + <Rules> + <CustomBuildRule + Name="UIC" + DisplayName="UIC" + CommandLine="uic.exe "$(InputDir)$(InputName).ui" -o "$(OutDir)\tmp\uic\ui_$(InputName).h"" + Outputs="$(OutDir)\tmp\uic\ui_$(InputName).h" + FileExtensions="*.ui" + ExecutionDescription="UICing $(InputName).h..." + > + <Properties> + </Properties> + </CustomBuildRule> + <CustomBuildRule + Name="MOC" + DisplayName="MOC" + CommandLine="moc.exe "$(InputDir)$(InputName).h" -o "$(OutDir)\tmp\moc\moc_$(InputName).cpp"" + Outputs="$(OutDir)\tmp\moc\moc_$(InputName).cpp" + FileExtensions="*.h" + ExecutionDescription="MOCing $(InputName).h..." + > + <Properties> + </Properties> + </CustomBuildRule> + <CustomBuildRule + Name="QRC" + DisplayName="QRC" + CommandLine="rcc.exe -name $(InputName) "$(InputDir)$(InputName).qrc" -o "$(OutDir)\tmp\qrc\qrc_$(InputName).cpp"" + Outputs="$(OutDir)\tmp\qrc\qrc_$(InputName).cpp" + FileExtensions="*.qrc" + ExecutionDescription="QRCing $(InputName).h..." + > + <Properties> + </Properties> + </CustomBuildRule> + </Rules> +</VisualStudioToolFile> |