ADDED basic Qt translation framework

This commit is contained in:
spacy51 2008-02-06 13:58:02 +00:00
parent f3c8c104b2
commit 92faefe922
1 changed files with 12 additions and 2 deletions

View File

@ -24,7 +24,7 @@
> >
<Tool <Tool
Name="VCNMakeTool" Name="VCNMakeTool"
BuildCommandLine="qmake -makefile -win32 -Wall ../qmake/vba-m.pro&#x0D;&#x0A;nmake debug" BuildCommandLine="qmake -makefile -win32 -Wall ../qmake/vba-m.pro&#x0D;&#x0A;nmake debug&#x0D;&#x0A;lupdate ../qmake/vba-m.pro"
ReBuildCommandLine="" ReBuildCommandLine=""
CleanCommandLine="nmake distclean&#x0D;&#x0A;rmdir /S /Q debug&#x0D;&#x0A;rmdir /S /Q release&#x0D;&#x0A;" CleanCommandLine="nmake distclean&#x0D;&#x0A;rmdir /S /Q debug&#x0D;&#x0A;rmdir /S /Q release&#x0D;&#x0A;"
Output="$(OutDir)/VisualBoyAdvance.exe" Output="$(OutDir)/VisualBoyAdvance.exe"
@ -44,7 +44,7 @@
> >
<Tool <Tool
Name="VCNMakeTool" Name="VCNMakeTool"
BuildCommandLine="qmake -makefile -win32 -Wall ../qmake/vba-m.pro&#x0D;&#x0A;nmake release&#x0D;&#x0A;upx -9 &quot;$(TargetPath)&quot;" BuildCommandLine="qmake -makefile -win32 -Wall ..\qmake\vba-m.pro&#x0D;&#x0A;nmake release&#x0D;&#x0A;upx -9 &quot;$(TargetPath)&quot;&#x0D;&#x0A;lrelease ..\qmake\vba-m.pro&#x0D;&#x0A;echo &quot;Copying translation files to release directory...&quot;&#x0D;&#x0A;mkdir $(OutDir)\lang&#x0D;&#x0A;copy /Y ..\..\lang\*.qm $(OutDir)\lang"
ReBuildCommandLine="" ReBuildCommandLine=""
CleanCommandLine="nmake distclean&#x0D;&#x0A;rmdir /S /Q debug&#x0D;&#x0A;rmdir /S /Q release&#x0D;&#x0A;" CleanCommandLine="nmake distclean&#x0D;&#x0A;rmdir /S /Q debug&#x0D;&#x0A;rmdir /S /Q release&#x0D;&#x0A;"
Output="$(OutDir)/VisualBoyAdvance.exe" Output="$(OutDir)/VisualBoyAdvance.exe"
@ -78,12 +78,22 @@
</Filter> </Filter>
<Filter <Filter
Name="Makefile" Name="Makefile"
Filter="pro"
> >
<File <File
RelativePath="..\qmake\vba-m.pro" RelativePath="..\qmake\vba-m.pro"
> >
</File> </File>
</Filter> </Filter>
<Filter
Name="Translations"
Filter="ts;qm"
>
<File
RelativePath="..\..\lang\german.ts"
>
</File>
</Filter>
</Files> </Files>
<Globals> <Globals>
</Globals> </Globals>