goldendict-ng/MSBuild/QtExtensions/lrelease.props
Tvangeste ba94dd1314 Created a VS2012 project and solution for GoldenDict
It uses excellent Visual Studio extensions for Qt,
written by Adam Badura (@adambadura). Many thanks!

The project file is fully functional in Release-Qt4 configuration,
for both x32 and x64 architectures.

I decided not to use the official Qt Plugin, since it
generates HUGE and broken project files which is painful
to maintain.

Here we have a pure visual studio solution with proper
Visual Studio extensions to support Qt-based development.

These extensions cover RCC, Lrelease, MOC and UIC,
automagically invoking them when needed, with basically
no need for manual steps to maintain.

Also, GoldenDict can be built from the command line as well,
no Visual Studio is required:

For Win32:
MSBuild /m goldendict.sln /v:m /nologo /p:Configuration=Release-Qt4 /p:Platform=win32

For x64:
MSBuild /m goldendict.sln /v:m /nologo /p:Configuration=Release-Qt4 /p:Platform=x64
2013-08-16 15:47:12 +02:00

19 lines
928 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
This file is (c) 2013 Adam Badura and Tvangeste.
Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file.
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemDefinitionGroup>
<QtTranslate>
<OutputFile Condition="'%(QtLrelease.OutputFile)' == ''">%(Filename).qm</OutputFile>
<Compress Condition="'%(QtLrelease.Compress)' == ''">false</Compress>
<LRELEASE Condition="'%(QtLrelease.LRELEASE)' == ''">$(QTDIR)\bin\lrelease.exe</LRELEASE>
<CommandLineTemplate>%(LRELEASE) [AllOptions] [AdditionalOptions] [Inputs]</CommandLineTemplate>
</QtTranslate>
</ItemDefinitionGroup>
<PropertyGroup>
<BuildGenerateSourcesTargets>$(BuildGenerateSourcesTargets);_QtTranslate</BuildGenerateSourcesTargets>
</PropertyGroup>
</Project>