aboutsummaryrefslogtreecommitdiffstats
path: root/src/share/qtcreator/externaltools/lrelease.xml
blob: 05ab83e115f822bffeb432f4a742df565b1c7c94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<!--
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

-->
<externaltool id="lrelease">
    <description>Creates qm translation files that can be used by an application from the translator's ts files</description>
    <displayname>Release Translations (lrelease)</displayname>
    <category>Linguist</category>
    <order>2</order>
    <executable>
        <path>%{CurrentDocument:Project:QT_INSTALL_BINS}/lrelease</path>
        <path>%{ActiveProject:QT_INSTALL_BINS}/lrelease</path>
        <path>lrelease</path>
        <arguments>%{CurrentDocument:Project:FilePath}</arguments>
        <workingdirectory>%{CurrentDocument:Project:Path}</workingdirectory>
        <baseEnvironmentId>CurrentDocument:Project:BuildConfig:Env</baseEnvironmentId>
    </executable>
</externaltool>