forked from qt-creator/qt-creator
Remove Linguist related external tools
They do not work with CMake projects Fixes: QTCREATORBUG-28467 Change-Id: Ic656c28d0e6bdde976bf7ffd75796b51c1aba06a Reviewed-by: Kai Köhne <kai.koehne@qt.io>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
set(EXT_TOOLS_DIR "${IDE_DATA_PATH}/externaltools")
|
set(EXT_TOOLS_DIR "${IDE_DATA_PATH}/externaltools")
|
||||||
|
|
||||||
set(tools lrelease.xml lupdate.xml qmlscene.xml qml.xml)
|
set(tools qmlscene.xml qml.xml)
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
list(APPEND tools notepad_win.xml)
|
list(APPEND tools notepad_win.xml)
|
||||||
|
@@ -1,20 +0,0 @@
|
|||||||
<?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>
|
|
@@ -1,20 +0,0 @@
|
|||||||
<?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="lupdate">
|
|
||||||
<description>Synchronizes translator's ts files with the program code</description>
|
|
||||||
<displayname>Update Translations (lupdate)</displayname>
|
|
||||||
<category>Linguist</category>
|
|
||||||
<order>1</order>
|
|
||||||
<executable>
|
|
||||||
<path>%{CurrentDocument:Project:QT_INSTALL_BINS}/lupdate</path>
|
|
||||||
<path>%{ActiveProject:QT_INSTALL_BINS}/lupdate</path>
|
|
||||||
<path>lupdate</path>
|
|
||||||
<arguments>%{CurrentDocument:Project:FilePath}</arguments>
|
|
||||||
<workingdirectory>%{CurrentDocument:Project:Path}</workingdirectory>
|
|
||||||
<baseEnvironmentId>CurrentDocument:Project:BuildConfig:Env</baseEnvironmentId>
|
|
||||||
</executable>
|
|
||||||
</externaltool>
|
|
Reference in New Issue
Block a user