ADDED basic Qt translation framework
This commit is contained in:
parent
f3c8c104b2
commit
92faefe922
|
@ -24,7 +24,7 @@
|
|||
>
|
||||
<Tool
|
||||
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=""
|
||||
CleanCommandLine="nmake distclean
rmdir /S /Q debug
rmdir /S /Q release
"
|
||||
Output="$(OutDir)/VisualBoyAdvance.exe"
|
||||
|
@ -44,7 +44,7 @@
|
|||
>
|
||||
<Tool
|
||||
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=""
|
||||
CleanCommandLine="nmake distclean
rmdir /S /Q debug
rmdir /S /Q release
"
|
||||
Output="$(OutDir)/VisualBoyAdvance.exe"
|
||||
|
@ -78,12 +78,22 @@
|
|||
</Filter>
|
||||
<Filter
|
||||
Name="Makefile"
|
||||
Filter="pro"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\qmake\vba-m.pro"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Translations"
|
||||
Filter="ts;qm"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\lang\german.ts"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
|
|
Loading…
Reference in New Issue