ADDED basic Qt translation framework
This commit is contained in:
parent
f3c8c104b2
commit
92faefe922
|
@ -24,7 +24,7 @@
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCNMakeTool"
|
Name="VCNMakeTool"
|
||||||
BuildCommandLine="qmake -makefile -win32 -Wall ../qmake/vba-m.pro
nmake debug"
|
BuildCommandLine="qmake -makefile -win32 -Wall ../qmake/vba-m.pro
nmake debug
lupdate ../qmake/vba-m.pro"
|
||||||
ReBuildCommandLine=""
|
ReBuildCommandLine=""
|
||||||
CleanCommandLine="nmake distclean
rmdir /S /Q debug
rmdir /S /Q release
"
|
CleanCommandLine="nmake distclean
rmdir /S /Q debug
rmdir /S /Q release
"
|
||||||
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
nmake release
upx -9 "$(TargetPath)""
|
BuildCommandLine="qmake -makefile -win32 -Wall ..\qmake\vba-m.pro
nmake release
upx -9 "$(TargetPath)"
lrelease ..\qmake\vba-m.pro
echo "Copying translation files to release directory..."
mkdir $(OutDir)\lang
copy /Y ..\..\lang\*.qm $(OutDir)\lang"
|
||||||
ReBuildCommandLine=""
|
ReBuildCommandLine=""
|
||||||
CleanCommandLine="nmake distclean
rmdir /S /Q debug
rmdir /S /Q release
"
|
CleanCommandLine="nmake distclean
rmdir /S /Q debug
rmdir /S /Q release
"
|
||||||
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>
|
||||||
|
|
Loading…
Reference in New Issue