summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/android/CMakeLists.txt1
-rw-r--r--src/plugins/android/android.qbs2
-rw-r--r--src/plugins/android/androidtr.h37
-rw-r--r--src/plugins/autotest/CMakeLists.txt1
-rw-r--r--src/plugins/autotest/autotest.qbs2
-rw-r--r--src/plugins/autotest/autotesttr.h37
-rw-r--r--src/plugins/autotoolsprojectmanager/autotoolsprojectmanagertr.h37
-rw-r--r--src/plugins/baremetal/baremetaltr.h37
-rw-r--r--src/plugins/bazaar/bazaartr.h37
-rw-r--r--src/plugins/beautifier/beautifiertr.h37
-rw-r--r--src/plugins/bineditor/CMakeLists.txt1
-rw-r--r--src/plugins/bineditor/bineditor.qbs2
-rw-r--r--src/plugins/bineditor/bineditortr.h37
-rw-r--r--src/plugins/bookmarks/CMakeLists.txt1
-rw-r--r--src/plugins/bookmarks/bookmarks.qbs2
-rw-r--r--src/plugins/bookmarks/bookmarkstr.h37
-rw-r--r--src/plugins/boot2qt/boot2qttr.h37
-rw-r--r--src/plugins/clangcodemodel/clangcodemodeltr.h37
-rw-r--r--src/plugins/clangformat/clangformattr.h37
-rw-r--r--src/plugins/clangtools/CMakeLists.txt1
-rw-r--r--src/plugins/clangtools/clangtools.qbs2
-rw-r--r--src/plugins/clangtools/clangtoolstr.h37
-rw-r--r--src/plugins/classview/classviewtr.h37
-rw-r--r--src/plugins/clearcase/clearcasetr.h37
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeprojectmanagertr.h37
-rw-r--r--src/plugins/coco/cocotr.h37
-rw-r--r--src/plugins/compilationdatabaseprojectmanager/compilationdatabaseprojectmanagertr.h37
-rw-r--r--src/plugins/conan/conantr.h37
-rw-r--r--src/plugins/coreplugin/coreplugintr.h37
-rw-r--r--src/plugins/cpaster/cpastertr.h37
-rw-r--r--src/plugins/cppcheck/cppchecktr.h37
-rw-r--r--src/plugins/cppeditor/CMakeLists.txt1
-rw-r--r--src/plugins/cppeditor/cppeditor.qbs2
-rw-r--r--src/plugins/cppeditor/cppeditortr.h37
-rw-r--r--src/plugins/ctfvisualizer/ctfvisualizertr.h37
-rw-r--r--src/plugins/cvs/cvstr.h37
-rw-r--r--src/plugins/debugger/CMakeLists.txt1
-rw-r--r--src/plugins/debugger/debugger.qbs2
-rw-r--r--src/plugins/debugger/debuggertr.h37
-rw-r--r--src/plugins/designer/designertr.h37
-rw-r--r--src/plugins/diffeditor/CMakeLists.txt1
-rw-r--r--src/plugins/diffeditor/diffeditor.qbs2
-rw-r--r--src/plugins/diffeditor/diffeditortr.h37
-rw-r--r--src/plugins/docker/CMakeLists.txt1
-rw-r--r--src/plugins/docker/docker.qbs2
-rw-r--r--src/plugins/docker/dockertr.h37
-rw-r--r--src/plugins/emacskeys/emacskeystr.h37
-rw-r--r--src/plugins/genericprojectmanager/genericprojectmanagertr.h37
-rw-r--r--src/plugins/git/CMakeLists.txt1
-rw-r--r--src/plugins/git/git.qbs2
-rw-r--r--src/plugins/git/gittr.h37
-rw-r--r--src/plugins/gitlab/gitlabtr.h37
-rw-r--r--src/plugins/glsleditor/glsleditortr.h37
-rw-r--r--src/plugins/helloworld/helloworldtr.h37
-rw-r--r--src/plugins/help/helptr.h37
-rw-r--r--src/plugins/imageviewer/imageviewertr.h37
-rw-r--r--src/plugins/incredibuild/CMakeLists.txt1
-rw-r--r--src/plugins/incredibuild/incredibuild.qbs2
-rw-r--r--src/plugins/incredibuild/incredibuildtr.h37
-rw-r--r--src/plugins/ios/iostr.h37
-rw-r--r--src/plugins/languageclient/CMakeLists.txt1
-rw-r--r--src/plugins/languageclient/languageclient.qbs2
-rw-r--r--src/plugins/languageclient/languageclienttr.h37
-rw-r--r--src/plugins/macros/macrostr.h37
-rw-r--r--src/plugins/marketplace/marketplacetr.h37
-rw-r--r--src/plugins/mcusupport/CMakeLists.txt1
-rw-r--r--src/plugins/mcusupport/mcusupport.qbs2
-rw-r--r--src/plugins/mcusupport/mcusupporttr.h37
-rw-r--r--src/plugins/mercurial/mercurialtr.h37
-rw-r--r--src/plugins/mesonprojectmanager/mesonprojectmanagertr.h37
-rw-r--r--src/plugins/modeleditor/CMakeLists.txt1
-rw-r--r--src/plugins/modeleditor/modeleditor.qbs2
-rw-r--r--src/plugins/modeleditor/modeleditortr.h37
-rw-r--r--src/plugins/nim/nimtr.h37
-rw-r--r--src/plugins/perforce/perforcetr.h37
-rw-r--r--src/plugins/perfprofiler/CMakeLists.txt1
-rw-r--r--src/plugins/perfprofiler/perfprofiler.qbs2
-rw-r--r--src/plugins/perfprofiler/perfprofilertr.h37
-rw-r--r--src/plugins/projectexplorer/projectexplorertr.h37
-rw-r--r--src/plugins/python/pythontr.h37
-rw-r--r--src/plugins/qbsprojectmanager/CMakeLists.txt1
-rw-r--r--src/plugins/qbsprojectmanager/qbsprojectmanager.qbs2
-rw-r--r--src/plugins/qbsprojectmanager/qbsprojectmanagertr.h37
-rw-r--r--src/plugins/qmakeprojectmanager/CMakeLists.txt1
-rw-r--r--src/plugins/qmakeprojectmanager/qmakeprojectmanager.qbs2
-rw-r--r--src/plugins/qmakeprojectmanager/qmakeprojectmanagertr.h37
-rw-r--r--src/plugins/qmldesigner/qmldesignertr.h37
-rw-r--r--src/plugins/qmljseditor/CMakeLists.txt1
-rw-r--r--src/plugins/qmljseditor/qmljseditor.qbs2
-rw-r--r--src/plugins/qmljseditor/qmljseditortr.h37
-rw-r--r--src/plugins/qmljstools/CMakeLists.txt1
-rw-r--r--src/plugins/qmljstools/qmljstools.qbs2
-rw-r--r--src/plugins/qmljstools/qmljstoolstr.h37
-rw-r--r--src/plugins/qmlpreview/CMakeLists.txt1
-rw-r--r--src/plugins/qmlpreview/qmlpreview.qbs2
-rw-r--r--src/plugins/qmlpreview/qmlpreviewtr.h37
-rw-r--r--src/plugins/qmlprofiler/CMakeLists.txt1
-rw-r--r--src/plugins/qmlprofiler/qmlprofiler.qbs2
-rw-r--r--src/plugins/qmlprofiler/qmlprofilertr.h37
-rw-r--r--src/plugins/qmlprojectmanager/CMakeLists.txt1
-rw-r--r--src/plugins/qmlprojectmanager/qmlprojectmanager.qbs2
-rw-r--r--src/plugins/qmlprojectmanager/qmlprojectmanagertr.h37
-rw-r--r--src/plugins/qnx/qnxtr.h37
-rw-r--r--src/plugins/qtsupport/CMakeLists.txt1
-rw-r--r--src/plugins/qtsupport/qtsupport.qbs2
-rw-r--r--src/plugins/qtsupport/qtsupporttr.h37
-rw-r--r--src/plugins/remotelinux/remotelinuxtr.h37
-rw-r--r--src/plugins/resourceeditor/resourceeditortr.h37
-rw-r--r--src/plugins/scxmleditor/CMakeLists.txt1
-rw-r--r--src/plugins/scxmleditor/scxmleditor.qbs2
-rw-r--r--src/plugins/scxmleditor/scxmleditortr.h37
-rw-r--r--src/plugins/silversearcher/silversearchertr.h37
-rw-r--r--src/plugins/studiowelcome/CMakeLists.txt1
-rw-r--r--src/plugins/studiowelcome/studiowelcome.qbs2
-rw-r--r--src/plugins/studiowelcome/studiowelcometr.h37
-rw-r--r--src/plugins/subversion/subversiontr.h37
-rw-r--r--src/plugins/texteditor/CMakeLists.txt1
-rw-r--r--src/plugins/texteditor/texteditor.qbs2
-rw-r--r--src/plugins/texteditor/texteditortr.h37
-rw-r--r--src/plugins/todo/todotr.h37
-rw-r--r--src/plugins/updateinfo/updateinfotr.h37
-rw-r--r--src/plugins/valgrind/valgrindtr.h37
-rw-r--r--src/plugins/vcsbase/CMakeLists.txt1
-rw-r--r--src/plugins/vcsbase/vcsbase.qbs2
-rw-r--r--src/plugins/vcsbase/vcsbasetr.h37
-rw-r--r--src/plugins/webassembly/CMakeLists.txt1
-rw-r--r--src/plugins/webassembly/webassembly.qbs2
-rw-r--r--src/plugins/webassembly/webassemblytr.h37
-rw-r--r--src/plugins/welcome/welcometr.h37
129 files changed, 2757 insertions, 28 deletions
diff --git a/src/plugins/android/CMakeLists.txt b/src/plugins/android/CMakeLists.txt
index 5ac673bd4f..90218c6c7c 100644
--- a/src/plugins/android/CMakeLists.txt
+++ b/src/plugins/android/CMakeLists.txt
@@ -5,6 +5,7 @@ add_qtc_plugin(Android
addnewavddialog.ui
android.qrc
android_global.h
+ androidtr.h
androidavdmanager.cpp androidavdmanager.h
androidbuildapkstep.cpp androidbuildapkstep.h
androidconfigurations.cpp androidconfigurations.h
diff --git a/src/plugins/android/android.qbs b/src/plugins/android/android.qbs
index 9d655cad61..aaa29b2b32 100644
--- a/src/plugins/android/android.qbs
+++ b/src/plugins/android/android.qbs
@@ -18,7 +18,7 @@ Project {
Depends { name: "app_version_header" }
files: [
- "android_global.h",
+ "android_global.h", "androidtr.h",
"android.qrc",
"addnewavddialog.ui",
"androidavdmanager.cpp",
diff --git a/src/plugins/android/androidtr.h b/src/plugins/android/androidtr.h
new file mode 100644
index 0000000000..06a0f211f5
--- /dev/null
+++ b/src/plugins/android/androidtr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Android {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Android)
+};
+
+} // namespace Android
diff --git a/src/plugins/autotest/CMakeLists.txt b/src/plugins/autotest/CMakeLists.txt
index f2e468f177..863e29f7eb 100644
--- a/src/plugins/autotest/CMakeLists.txt
+++ b/src/plugins/autotest/CMakeLists.txt
@@ -5,6 +5,7 @@ add_qtc_plugin(AutoTest
SOURCES
autotest.qrc
autotest_global.h
+ autotesttr.h
autotestconstants.h
autotesticons.h
autotestplugin.cpp autotestplugin.h
diff --git a/src/plugins/autotest/autotest.qbs b/src/plugins/autotest/autotest.qbs
index fe03ef2a59..90a3fde61a 100644
--- a/src/plugins/autotest/autotest.qbs
+++ b/src/plugins/autotest/autotest.qbs
@@ -33,7 +33,7 @@ QtcPlugin {
files: [
"autotest.qrc",
"autotesticons.h",
- "autotest_global.h",
+ "autotest_global.h", "autotesttr.h",
"autotestconstants.h",
"autotestplugin.cpp",
"autotestplugin.h",
diff --git a/src/plugins/autotest/autotesttr.h b/src/plugins/autotest/autotesttr.h
new file mode 100644
index 0000000000..b0eaa31c86
--- /dev/null
+++ b/src/plugins/autotest/autotesttr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace AutoTest {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(AutoTest)
+};
+
+} // namespace AutoTest
diff --git a/src/plugins/autotoolsprojectmanager/autotoolsprojectmanagertr.h b/src/plugins/autotoolsprojectmanager/autotoolsprojectmanagertr.h
new file mode 100644
index 0000000000..f686ddd498
--- /dev/null
+++ b/src/plugins/autotoolsprojectmanager/autotoolsprojectmanagertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace AutotoolsProjectManager {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(AutotoolsProjectManager)
+};
+
+} // namespace AutotoolsProjectManager
diff --git a/src/plugins/baremetal/baremetaltr.h b/src/plugins/baremetal/baremetaltr.h
new file mode 100644
index 0000000000..cdd750e139
--- /dev/null
+++ b/src/plugins/baremetal/baremetaltr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace BareMetal {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(BareMetal)
+};
+
+} // namespace BareMetal
diff --git a/src/plugins/bazaar/bazaartr.h b/src/plugins/bazaar/bazaartr.h
new file mode 100644
index 0000000000..29f559c8d2
--- /dev/null
+++ b/src/plugins/bazaar/bazaartr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Bazaar {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Bazaar)
+};
+
+} // namespace Bazaar
diff --git a/src/plugins/beautifier/beautifiertr.h b/src/plugins/beautifier/beautifiertr.h
new file mode 100644
index 0000000000..c76c2998ed
--- /dev/null
+++ b/src/plugins/beautifier/beautifiertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Beautifier {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Beautifier)
+};
+
+} // namespace Beautifier
diff --git a/src/plugins/bineditor/CMakeLists.txt b/src/plugins/bineditor/CMakeLists.txt
index fda0791388..6cac33c0d0 100644
--- a/src/plugins/bineditor/CMakeLists.txt
+++ b/src/plugins/bineditor/CMakeLists.txt
@@ -2,6 +2,7 @@ add_qtc_plugin(BinEditor
PLUGIN_DEPENDS Core TextEditor
SOURCES
bineditor_global.h
+ bineditortr.h
bineditorconstants.h
bineditorplugin.cpp bineditorplugin.h
bineditorservice.h
diff --git a/src/plugins/bineditor/bineditor.qbs b/src/plugins/bineditor/bineditor.qbs
index 6a94295cef..f1cc52e411 100644
--- a/src/plugins/bineditor/bineditor.qbs
+++ b/src/plugins/bineditor/bineditor.qbs
@@ -11,7 +11,7 @@ QtcPlugin {
Depends { name: "TextEditor" }
files: [
- "bineditor_global.h",
+ "bineditor_global.h", "bineditortr.h",
"bineditorconstants.h",
"bineditorwidget.cpp", "bineditorwidget.h",
"bineditorplugin.cpp", "bineditorplugin.h",
diff --git a/src/plugins/bineditor/bineditortr.h b/src/plugins/bineditor/bineditortr.h
new file mode 100644
index 0000000000..f24022cd03
--- /dev/null
+++ b/src/plugins/bineditor/bineditortr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace BinEditor {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(BinEditor)
+};
+
+} // namespace BinEditor
diff --git a/src/plugins/bookmarks/CMakeLists.txt b/src/plugins/bookmarks/CMakeLists.txt
index 2c6847cffc..62a83b5adb 100644
--- a/src/plugins/bookmarks/CMakeLists.txt
+++ b/src/plugins/bookmarks/CMakeLists.txt
@@ -5,5 +5,6 @@ add_qtc_plugin(Bookmarks
bookmarkfilter.cpp bookmarkfilter.h
bookmarkmanager.cpp bookmarkmanager.h
bookmarks_global.h
+ bookmarkstr.h
bookmarksplugin.cpp bookmarksplugin.h
)
diff --git a/src/plugins/bookmarks/bookmarks.qbs b/src/plugins/bookmarks/bookmarks.qbs
index cfbecfea32..d42fa43cdf 100644
--- a/src/plugins/bookmarks/bookmarks.qbs
+++ b/src/plugins/bookmarks/bookmarks.qbs
@@ -17,7 +17,7 @@ QtcPlugin {
"bookmarkfilter.h",
"bookmarkmanager.cpp",
"bookmarkmanager.h",
- "bookmarks_global.h",
+ "bookmarks_global.h", "bookmarkstr.h",
"bookmarksplugin.cpp",
"bookmarksplugin.h",
]
diff --git a/src/plugins/bookmarks/bookmarkstr.h b/src/plugins/bookmarks/bookmarkstr.h
new file mode 100644
index 0000000000..51476f54a4
--- /dev/null
+++ b/src/plugins/bookmarks/bookmarkstr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Bookmarks {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Bookmarks)
+};
+
+} // namespace Bookmarks
diff --git a/src/plugins/boot2qt/boot2qttr.h b/src/plugins/boot2qt/boot2qttr.h
new file mode 100644
index 0000000000..aa124495b8
--- /dev/null
+++ b/src/plugins/boot2qt/boot2qttr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Boot2Qt {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Boot2Qt)
+};
+
+} // namespace Boot2Qt
diff --git a/src/plugins/clangcodemodel/clangcodemodeltr.h b/src/plugins/clangcodemodel/clangcodemodeltr.h
new file mode 100644
index 0000000000..023eef33f4
--- /dev/null
+++ b/src/plugins/clangcodemodel/clangcodemodeltr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace ClangCodeModel {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(ClangCodeModel)
+};
+
+} // namespace ClangCodeModel
diff --git a/src/plugins/clangformat/clangformattr.h b/src/plugins/clangformat/clangformattr.h
new file mode 100644
index 0000000000..6ab2d03df9
--- /dev/null
+++ b/src/plugins/clangformat/clangformattr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace ClangFormat {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(ClangFormat)
+};
+
+} // namespace ClangFormat
diff --git a/src/plugins/clangtools/CMakeLists.txt b/src/plugins/clangtools/CMakeLists.txt
index cdb6f27921..0db257697b 100644
--- a/src/plugins/clangtools/CMakeLists.txt
+++ b/src/plugins/clangtools/CMakeLists.txt
@@ -22,6 +22,7 @@ add_qtc_plugin(ClangTools
clangtoolruncontrol.cpp clangtoolruncontrol.h
clangtoolrunner.cpp clangtoolrunner.h
clangtools_global.h
+ clangtoolstr.h
clangtoolsconstants.h
clangtoolsdiagnostic.cpp clangtoolsdiagnostic.h
clangtoolsdiagnosticmodel.cpp clangtoolsdiagnosticmodel.h
diff --git a/src/plugins/clangtools/clangtools.qbs b/src/plugins/clangtools/clangtools.qbs
index 01d680e537..bf9161c6f0 100644
--- a/src/plugins/clangtools/clangtools.qbs
+++ b/src/plugins/clangtools/clangtools.qbs
@@ -37,7 +37,7 @@ QtcPlugin {
"clangtoolruncontrol.h",
"clangtoolrunner.cpp",
"clangtoolrunner.h",
- "clangtools_global.h",
+ "clangtools_global.h", "clangtoolstr.h",
"clangtoolsconstants.h",
"clangtoolsdiagnostic.cpp",
"clangtoolsdiagnostic.h",
diff --git a/src/plugins/clangtools/clangtoolstr.h b/src/plugins/clangtools/clangtoolstr.h
new file mode 100644
index 0000000000..00f1f29e8d
--- /dev/null
+++ b/src/plugins/clangtools/clangtoolstr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace ClangTools {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(ClangTools)
+};
+
+} // namespace ClangTools
diff --git a/src/plugins/classview/classviewtr.h b/src/plugins/classview/classviewtr.h
new file mode 100644
index 0000000000..510a670a71
--- /dev/null
+++ b/src/plugins/classview/classviewtr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace ClassView {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(ClassView)
+};
+
+} // namespace ClassView
diff --git a/src/plugins/clearcase/clearcasetr.h b/src/plugins/clearcase/clearcasetr.h
new file mode 100644
index 0000000000..d6a0c66aaf
--- /dev/null
+++ b/src/plugins/clearcase/clearcasetr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace ClearCase {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(ClearCase)
+};
+
+} // namespace ClearCase
diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectmanagertr.h b/src/plugins/cmakeprojectmanager/cmakeprojectmanagertr.h
new file mode 100644
index 0000000000..1b751893b0
--- /dev/null
+++ b/src/plugins/cmakeprojectmanager/cmakeprojectmanagertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace CMakeProjectManager {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(CMakeProjectManager)
+};
+
+} // namespace CMakeProjectManager
diff --git a/src/plugins/coco/cocotr.h b/src/plugins/coco/cocotr.h
new file mode 100644
index 0000000000..1462c0fd06
--- /dev/null
+++ b/src/plugins/coco/cocotr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Coco {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Coco)
+};
+
+} // namespace Coco
diff --git a/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseprojectmanagertr.h b/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseprojectmanagertr.h
new file mode 100644
index 0000000000..52a131dd57
--- /dev/null
+++ b/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseprojectmanagertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace CompilationDatabaseProjectManager {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(CompilationDatabaseProjectManager)
+};
+
+} // namespace CompilationDatabaseProjectManager
diff --git a/src/plugins/conan/conantr.h b/src/plugins/conan/conantr.h
new file mode 100644
index 0000000000..25b1ac9b4b
--- /dev/null
+++ b/src/plugins/conan/conantr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Conan {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Conan)
+};
+
+} // namespace Conan
diff --git a/src/plugins/coreplugin/coreplugintr.h b/src/plugins/coreplugin/coreplugintr.h
new file mode 100644
index 0000000000..838a406bb6
--- /dev/null
+++ b/src/plugins/coreplugin/coreplugintr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Core {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Core)
+};
+
+} // namespace Core
diff --git a/src/plugins/cpaster/cpastertr.h b/src/plugins/cpaster/cpastertr.h
new file mode 100644
index 0000000000..483d5cb0e6
--- /dev/null
+++ b/src/plugins/cpaster/cpastertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace CodePaster {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(CodePaster)
+};
+
+} // namespace CodePaster
diff --git a/src/plugins/cppcheck/cppchecktr.h b/src/plugins/cppcheck/cppchecktr.h
new file mode 100644
index 0000000000..3dcc92e849
--- /dev/null
+++ b/src/plugins/cppcheck/cppchecktr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Cppcheck {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Cppcheck)
+};
+
+} // namespace Cppcheck
diff --git a/src/plugins/cppeditor/CMakeLists.txt b/src/plugins/cppeditor/CMakeLists.txt
index a2f09056bb..1b6c7e44eb 100644
--- a/src/plugins/cppeditor/CMakeLists.txt
+++ b/src/plugins/cppeditor/CMakeLists.txt
@@ -40,6 +40,7 @@ add_qtc_plugin(CppEditor
cppdoxygen.cpp cppdoxygen.h
cppeditor.qrc
cppeditor_global.h
+ cppeditortr.h
cppeditorconstants.h
cppeditordocument.cpp cppeditordocument.h
cppeditoroutline.cpp cppeditoroutline.h
diff --git a/src/plugins/cppeditor/cppeditor.qbs b/src/plugins/cppeditor/cppeditor.qbs
index 59037cfc1a..ca00b1f4fa 100644
--- a/src/plugins/cppeditor/cppeditor.qbs
+++ b/src/plugins/cppeditor/cppeditor.qbs
@@ -99,7 +99,7 @@ QtcPlugin {
"cppeditorwidget.cpp",
"cppeditorwidget.h",
"cppeditor.qrc",
- "cppeditor_global.h",
+ "cppeditor_global.h", "cppeditortr.h",
"cppeditorconstants.h",
"cppeditordocument.cpp",
"cppeditordocument.h",
diff --git a/src/plugins/cppeditor/cppeditortr.h b/src/plugins/cppeditor/cppeditortr.h
new file mode 100644
index 0000000000..8c84efb067
--- /dev/null
+++ b/src/plugins/cppeditor/cppeditortr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace CppEditor {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(CppEditor)
+};
+
+} // namespace CppEditor
diff --git a/src/plugins/ctfvisualizer/ctfvisualizertr.h b/src/plugins/ctfvisualizer/ctfvisualizertr.h
new file mode 100644
index 0000000000..f91c24211c
--- /dev/null
+++ b/src/plugins/ctfvisualizer/ctfvisualizertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace CtfVisualizer {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(CtfVisualizer)
+};
+
+} // namespace CtfVisualizer
diff --git a/src/plugins/cvs/cvstr.h b/src/plugins/cvs/cvstr.h
new file mode 100644
index 0000000000..c6d4d28335
--- /dev/null
+++ b/src/plugins/cvs/cvstr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace CVS {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(CVS)
+};
+
+} // namespace CVS
diff --git a/src/plugins/debugger/CMakeLists.txt b/src/plugins/debugger/CMakeLists.txt
index aeefdec4bb..de760bd0d1 100644
--- a/src/plugins/debugger/CMakeLists.txt
+++ b/src/plugins/debugger/CMakeLists.txt
@@ -29,6 +29,7 @@ add_qtc_plugin(Debugger
console/consoleview.cpp console/consoleview.h
debugger.qrc
debugger_global.h
+ debuggertr.h
debuggeractions.cpp debuggeractions.h
debuggerconstants.h
debuggercore.h
diff --git a/src/plugins/debugger/debugger.qbs b/src/plugins/debugger/debugger.qbs
index a4f0066584..33c7f61e9a 100644
--- a/src/plugins/debugger/debugger.qbs
+++ b/src/plugins/debugger/debugger.qbs
@@ -38,7 +38,7 @@ Project {
"breakpoint.cpp", "breakpoint.h",
"commonoptionspage.cpp", "commonoptionspage.h",
"debugger.qrc",
- "debugger_global.h",
+ "debugger_global.h", "debuggertr.h",
"debuggeractions.cpp", "debuggeractions.h",
"debuggerconstants.h",
"debuggericons.h", "debuggericons.cpp",
diff --git a/src/plugins/debugger/debuggertr.h b/src/plugins/debugger/debuggertr.h
new file mode 100644
index 0000000000..00090577c8
--- /dev/null
+++ b/src/plugins/debugger/debuggertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Debugger {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Debugger)
+};
+
+} // namespace Debugger
diff --git a/src/plugins/designer/designertr.h b/src/plugins/designer/designertr.h
new file mode 100644
index 0000000000..0491182aa7
--- /dev/null
+++ b/src/plugins/designer/designertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Designer {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Designer)
+};
+
+} // namespace Designer
diff --git a/src/plugins/diffeditor/CMakeLists.txt b/src/plugins/diffeditor/CMakeLists.txt
index 695d7d1555..aac8d74de8 100644
--- a/src/plugins/diffeditor/CMakeLists.txt
+++ b/src/plugins/diffeditor/CMakeLists.txt
@@ -5,6 +5,7 @@ add_qtc_plugin(DiffEditor
diffeditor.cpp diffeditor.h
diffeditor.qrc
diffeditor_global.h
+ diffeditortr.h
diffeditorconstants.h
diffeditorcontroller.cpp diffeditorcontroller.h
diffeditordocument.cpp diffeditordocument.h
diff --git a/src/plugins/diffeditor/diffeditor.qbs b/src/plugins/diffeditor/diffeditor.qbs
index 9c6a41c377..47c41afd3c 100644
--- a/src/plugins/diffeditor/diffeditor.qbs
+++ b/src/plugins/diffeditor/diffeditor.qbs
@@ -19,7 +19,7 @@ QtcPlugin {
"diffeditor.cpp",
"diffeditor.h",
"diffeditor.qrc",
- "diffeditor_global.h",
+ "diffeditor_global.h", "diffeditortr.h",
"diffeditorconstants.h",
"diffeditoricons.h",
"diffeditorcontroller.cpp",
diff --git a/src/plugins/diffeditor/diffeditortr.h b/src/plugins/diffeditor/diffeditortr.h
new file mode 100644
index 0000000000..d858be00ae
--- /dev/null
+++ b/src/plugins/diffeditor/diffeditortr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace DiffEditor {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(DiffEditor)
+};
+
+} // namespace DiffEditor
diff --git a/src/plugins/docker/CMakeLists.txt b/src/plugins/docker/CMakeLists.txt
index b18baabf0c..b2773c2505 100644
--- a/src/plugins/docker/CMakeLists.txt
+++ b/src/plugins/docker/CMakeLists.txt
@@ -3,6 +3,7 @@ add_qtc_plugin(Docker
PLUGIN_DEPENDS Core ProjectExplorer QtSupport
SOURCES
docker_global.h
+ dockertr.h
dockerapi.cpp dockerapi.h
dockerconstants.h
dockerdevice.cpp dockerdevice.h
diff --git a/src/plugins/docker/docker.qbs b/src/plugins/docker/docker.qbs
index 5664c1b562..d2e0dd416f 100644
--- a/src/plugins/docker/docker.qbs
+++ b/src/plugins/docker/docker.qbs
@@ -11,7 +11,7 @@ QtcPlugin {
Depends { name: "QtSupport" }
files: [
- "docker_global.h",
+ "docker_global.h", "dockertr.h",
"dockerapi.cpp",
"dockerapi.h",
"dockerconstants.h",
diff --git a/src/plugins/docker/dockertr.h b/src/plugins/docker/dockertr.h
new file mode 100644
index 0000000000..10f8416412
--- /dev/null
+++ b/src/plugins/docker/dockertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Docker {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Docker)
+};
+
+} // namespace Docker
diff --git a/src/plugins/emacskeys/emacskeystr.h b/src/plugins/emacskeys/emacskeystr.h
new file mode 100644
index 0000000000..e237c13a1f
--- /dev/null
+++ b/src/plugins/emacskeys/emacskeystr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace EmacsKeys {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(EmacsKeys)
+};
+
+} // namespace EmacsKeys
diff --git a/src/plugins/genericprojectmanager/genericprojectmanagertr.h b/src/plugins/genericprojectmanager/genericprojectmanagertr.h
new file mode 100644
index 0000000000..9d136a8986
--- /dev/null
+++ b/src/plugins/genericprojectmanager/genericprojectmanagertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace GenericProjectManager {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(GenericProjectManager)
+};
+
+} // namespace GenericProjectManager
diff --git a/src/plugins/git/CMakeLists.txt b/src/plugins/git/CMakeLists.txt
index 25becbdf05..5bcf468529 100644
--- a/src/plugins/git/CMakeLists.txt
+++ b/src/plugins/git/CMakeLists.txt
@@ -20,6 +20,7 @@ add_qtc_plugin(Git
gerrit/gerritserver.cpp gerrit/gerritserver.h
git.qrc
git_global.h
+ gittr.h
gitclient.cpp gitclient.h
gitconstants.h
giteditor.cpp giteditor.h
diff --git a/src/plugins/git/git.qbs b/src/plugins/git/git.qbs
index 7f48dfbf34..ad22026f28 100644
--- a/src/plugins/git/git.qbs
+++ b/src/plugins/git/git.qbs
@@ -32,7 +32,7 @@ QtcPlugin {
"commitdata.cpp",
"commitdata.h",
"git.qrc",
- "git_global.h",
+ "git_global.h", "gittr.h",
"gitclient.cpp",
"gitclient.h",
"gitconstants.h",
diff --git a/src/plugins/git/gittr.h b/src/plugins/git/gittr.h
new file mode 100644
index 0000000000..7a3eb7c680
--- /dev/null
+++ b/src/plugins/git/gittr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Git {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Git)
+};
+
+} // namespace Git
diff --git a/src/plugins/gitlab/gitlabtr.h b/src/plugins/gitlab/gitlabtr.h
new file mode 100644
index 0000000000..90ec7c6bfb
--- /dev/null
+++ b/src/plugins/gitlab/gitlabtr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace GitLab {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(GitLab)
+};
+
+} // namespace GitLab
diff --git a/src/plugins/glsleditor/glsleditortr.h b/src/plugins/glsleditor/glsleditortr.h
new file mode 100644
index 0000000000..e4e90a5a32
--- /dev/null
+++ b/src/plugins/glsleditor/glsleditortr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace GLSLEditor {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(GLSLEditor)
+};
+
+} // namespace GLSLEditor
diff --git a/src/plugins/helloworld/helloworldtr.h b/src/plugins/helloworld/helloworldtr.h
new file mode 100644
index 0000000000..7fb067e38f
--- /dev/null
+++ b/src/plugins/helloworld/helloworldtr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace HelloWorld {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(HelloWorld)
+};
+
+} // namespace HelloWorld
diff --git a/src/plugins/help/helptr.h b/src/plugins/help/helptr.h
new file mode 100644
index 0000000000..5f4920cf31
--- /dev/null
+++ b/src/plugins/help/helptr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Help {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Help)
+};
+
+} // namespace Help
diff --git a/src/plugins/imageviewer/imageviewertr.h b/src/plugins/imageviewer/imageviewertr.h
new file mode 100644
index 0000000000..2154870bb6
--- /dev/null
+++ b/src/plugins/imageviewer/imageviewertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace ImageViewer {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(ImageViewer)
+};
+
+} // namespace ImageViewer
diff --git a/src/plugins/incredibuild/CMakeLists.txt b/src/plugins/incredibuild/CMakeLists.txt
index 96da8c5230..81e0273b95 100644
--- a/src/plugins/incredibuild/CMakeLists.txt
+++ b/src/plugins/incredibuild/CMakeLists.txt
@@ -13,6 +13,7 @@ add_qtc_plugin(IncrediBuild
ibconsolebuildstep.cpp
ibconsolebuildstep.h
incredibuild_global.h
+ incredibuildtr.h
incredibuildconstants.h
incredibuildplugin.cpp
incredibuildplugin.h
diff --git a/src/plugins/incredibuild/incredibuild.qbs b/src/plugins/incredibuild/incredibuild.qbs
index f4f3b454c3..e08d548691 100644
--- a/src/plugins/incredibuild/incredibuild.qbs
+++ b/src/plugins/incredibuild/incredibuild.qbs
@@ -19,7 +19,7 @@ QtcPlugin {
"commandbuilderaspect.h",
"ibconsolebuildstep.cpp",
"ibconsolebuildstep.h",
- "incredibuild_global.h",
+ "incredibuild_global.h", "incredibuildtr.h",
"incredibuildconstants.h",
"incredibuildplugin.cpp",
"incredibuildplugin.h",
diff --git a/src/plugins/incredibuild/incredibuildtr.h b/src/plugins/incredibuild/incredibuildtr.h
new file mode 100644
index 0000000000..d4e85d7f6a
--- /dev/null
+++ b/src/plugins/incredibuild/incredibuildtr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace IncrediBuild {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(IncrediBuild)
+};
+
+} // namespace IncrediBuild
diff --git a/src/plugins/ios/iostr.h b/src/plugins/ios/iostr.h
new file mode 100644
index 0000000000..aab93b0734
--- /dev/null
+++ b/src/plugins/ios/iostr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Ios {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Ios)
+};
+
+} // namespace Ios
diff --git a/src/plugins/languageclient/CMakeLists.txt b/src/plugins/languageclient/CMakeLists.txt
index 50dd072dab..cc7d2c310c 100644
--- a/src/plugins/languageclient/CMakeLists.txt
+++ b/src/plugins/languageclient/CMakeLists.txt
@@ -20,6 +20,7 @@ add_qtc_plugin(LanguageClient
languageclientsymbolsupport.cpp languageclientsymbolsupport.h
languageclientutils.cpp languageclientutils.h
languageclient_global.h
+ languageclienttr.h
locatorfilter.cpp locatorfilter.h
lspinspector.cpp lspinspector.h
progressmanager.cpp progressmanager.h
diff --git a/src/plugins/languageclient/languageclient.qbs b/src/plugins/languageclient/languageclient.qbs
index 257d54bef5..3e28480e6d 100644
--- a/src/plugins/languageclient/languageclient.qbs
+++ b/src/plugins/languageclient/languageclient.qbs
@@ -29,7 +29,7 @@ QtcPlugin {
"dynamiccapabilities.cpp",
"dynamiccapabilities.h",
"languageclient.qrc",
- "languageclient_global.h",
+ "languageclient_global.h", "languageclienttr.h",
"languageclientformatter.cpp",
"languageclientformatter.h",
"languageclienthoverhandler.cpp",
diff --git a/src/plugins/languageclient/languageclienttr.h b/src/plugins/languageclient/languageclienttr.h
new file mode 100644
index 0000000000..761df2d20d
--- /dev/null
+++ b/src/plugins/languageclient/languageclienttr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace LanguageClient {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(LanguageClient)
+};
+
+} // namespace LanguageClient
diff --git a/src/plugins/macros/macrostr.h b/src/plugins/macros/macrostr.h
new file mode 100644
index 0000000000..1cb8e89a88
--- /dev/null
+++ b/src/plugins/macros/macrostr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Macros {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Macros)
+};
+
+} // namespace Macros
diff --git a/src/plugins/marketplace/marketplacetr.h b/src/plugins/marketplace/marketplacetr.h
new file mode 100644
index 0000000000..24607fd612
--- /dev/null
+++ b/src/plugins/marketplace/marketplacetr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Marketplace {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Marketplace)
+};
+
+} // namespace Marketplace
diff --git a/src/plugins/mcusupport/CMakeLists.txt b/src/plugins/mcusupport/CMakeLists.txt
index e3e202bcbd..27cd018be0 100644
--- a/src/plugins/mcusupport/CMakeLists.txt
+++ b/src/plugins/mcusupport/CMakeLists.txt
@@ -5,6 +5,7 @@ add_qtc_plugin(McuSupport
mcukitinformation.cpp mcukitinformation.h
mcusupport.qrc
mcusupport_global.h
+ mcusupporttr.h
mcusupportconstants.h
mcusupportdevice.cpp mcusupportdevice.h
mcusupportoptions.cpp mcusupportoptions.h mcuabstractpackage.h
diff --git a/src/plugins/mcusupport/mcusupport.qbs b/src/plugins/mcusupport/mcusupport.qbs
index 5f3135214a..b0984199ae 100644
--- a/src/plugins/mcusupport/mcusupport.qbs
+++ b/src/plugins/mcusupport/mcusupport.qbs
@@ -28,7 +28,7 @@ QtcPlugin {
"mcutargetfactorylegacy.cpp",
"mcutargetfactorylegacy.h",
"mcusupport.qrc",
- "mcusupport_global.h",
+ "mcusupport_global.h", "mcusupporttr.h",
"mcusupportconstants.h",
"mcusupportdevice.cpp",
"mcusupportdevice.h",
diff --git a/src/plugins/mcusupport/mcusupporttr.h b/src/plugins/mcusupport/mcusupporttr.h
new file mode 100644
index 0000000000..05a5fdde5d
--- /dev/null
+++ b/src/plugins/mcusupport/mcusupporttr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace McuSupport {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(McuSupport)
+};
+
+} // namespace McuSupport
diff --git a/src/plugins/mercurial/mercurialtr.h b/src/plugins/mercurial/mercurialtr.h
new file mode 100644
index 0000000000..2875f7a5a5
--- /dev/null
+++ b/src/plugins/mercurial/mercurialtr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Mercurial {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Mercurial)
+};
+
+} // namespace Mercurial
diff --git a/src/plugins/mesonprojectmanager/mesonprojectmanagertr.h b/src/plugins/mesonprojectmanager/mesonprojectmanagertr.h
new file mode 100644
index 0000000000..e30b470d66
--- /dev/null
+++ b/src/plugins/mesonprojectmanager/mesonprojectmanagertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace MesonProjectManager {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(MesonProjectManager)
+};
+
+} // namespace MesonProjectManager
diff --git a/src/plugins/modeleditor/CMakeLists.txt b/src/plugins/modeleditor/CMakeLists.txt
index 2667c79043..0b4b687eb4 100644
--- a/src/plugins/modeleditor/CMakeLists.txt
+++ b/src/plugins/modeleditor/CMakeLists.txt
@@ -16,6 +16,7 @@ add_qtc_plugin(ModelEditor
modeleditor.cpp modeleditor.h
modeleditor_constants.h
modeleditor_global.h
+ modeleditortr.h
modeleditor_plugin.cpp modeleditor_plugin.h
modeleditorfactory.cpp modeleditorfactory.h
modelindexer.cpp modelindexer.h
diff --git a/src/plugins/modeleditor/modeleditor.qbs b/src/plugins/modeleditor/modeleditor.qbs
index 6cb1c6fe8a..a2ac96adc4 100644
--- a/src/plugins/modeleditor/modeleditor.qbs
+++ b/src/plugins/modeleditor/modeleditor.qbs
@@ -51,7 +51,7 @@ QtcPlugin {
"modeleditor.cpp",
"modeleditorfactory.cpp",
"modeleditorfactory.h",
- "modeleditor_global.h",
+ "modeleditor_global.h", "modeleditortr.h",
"modeleditor.h",
"modeleditor_plugin.cpp",
"modeleditor_plugin.h",
diff --git a/src/plugins/modeleditor/modeleditortr.h b/src/plugins/modeleditor/modeleditortr.h
new file mode 100644
index 0000000000..808b6308d3
--- /dev/null
+++ b/src/plugins/modeleditor/modeleditortr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace ModelEditor {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(ModelEditor)
+};
+
+} // namespace ModelEditor
diff --git a/src/plugins/nim/nimtr.h b/src/plugins/nim/nimtr.h
new file mode 100644
index 0000000000..43de26fdb0
--- /dev/null
+++ b/src/plugins/nim/nimtr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Nim {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Nim)
+};
+
+} // namespace Nim
diff --git a/src/plugins/perforce/perforcetr.h b/src/plugins/perforce/perforcetr.h
new file mode 100644
index 0000000000..6301a877e6
--- /dev/null
+++ b/src/plugins/perforce/perforcetr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Perforce {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Perforce)
+};
+
+} // namespace Perforce
diff --git a/src/plugins/perfprofiler/CMakeLists.txt b/src/plugins/perfprofiler/CMakeLists.txt
index 438ae554f1..c6e902eb59 100644
--- a/src/plugins/perfprofiler/CMakeLists.txt
+++ b/src/plugins/perfprofiler/CMakeLists.txt
@@ -29,6 +29,7 @@ set(PERFPROFILER_CPP_SOURCES
perfprofilertracemanager.cpp perfprofilertracemanager.h
perfprofilertraceview.cpp perfprofilertraceview.h
perfprofiler_global.h
+ perfprofilertr.h
perfresourcecounter.cpp perfresourcecounter.h
perfrunconfigurationaspect.cpp perfrunconfigurationaspect.h
perfsettings.cpp perfsettings.h
diff --git a/src/plugins/perfprofiler/perfprofiler.qbs b/src/plugins/perfprofiler/perfprofiler.qbs
index 24cadd13e4..57c1aaecb8 100644
--- a/src/plugins/perfprofiler/perfprofiler.qbs
+++ b/src/plugins/perfprofiler/perfprofiler.qbs
@@ -30,7 +30,7 @@ QtcPlugin {
"perfloaddialog.ui",
"perfoptionspage.cpp",
"perfoptionspage.h",
- "perfprofiler_global.h",
+ "perfprofiler_global.h", "perfprofilertr.h",
"perfprofilerconstants.h",
"perfprofilerplugin.cpp",
"perfprofilerplugin.h",
diff --git a/src/plugins/perfprofiler/perfprofilertr.h b/src/plugins/perfprofiler/perfprofilertr.h
new file mode 100644
index 0000000000..7e877bd248
--- /dev/null
+++ b/src/plugins/perfprofiler/perfprofilertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace PerfProfiler {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(PerfProfiler)
+};
+
+} // namespace PerfProfiler
diff --git a/src/plugins/projectexplorer/projectexplorertr.h b/src/plugins/projectexplorer/projectexplorertr.h
new file mode 100644
index 0000000000..5663efe5ee
--- /dev/null
+++ b/src/plugins/projectexplorer/projectexplorertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace ProjectExplorer {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(ProjectExplorer)
+};
+
+} // namespace ProjectExplorer
diff --git a/src/plugins/python/pythontr.h b/src/plugins/python/pythontr.h
new file mode 100644
index 0000000000..5ef24f9cb5
--- /dev/null
+++ b/src/plugins/python/pythontr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Python {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Python)
+};
+
+} // namespace Python
diff --git a/src/plugins/qbsprojectmanager/CMakeLists.txt b/src/plugins/qbsprojectmanager/CMakeLists.txt
index 824952e421..02377d9426 100644
--- a/src/plugins/qbsprojectmanager/CMakeLists.txt
+++ b/src/plugins/qbsprojectmanager/CMakeLists.txt
@@ -23,6 +23,7 @@ add_qtc_plugin(QbsProjectManager
qbsprojectimporter.cpp qbsprojectimporter.h
qbsprojectmanager.qrc
qbsprojectmanager_global.h
+ qbsprojectmanagertr.h
qbsprojectmanagerconstants.h
qbsprojectmanagerplugin.cpp qbsprojectmanagerplugin.h
qbsprojectparser.cpp qbsprojectparser.h
diff --git a/src/plugins/qbsprojectmanager/qbsprojectmanager.qbs b/src/plugins/qbsprojectmanager/qbsprojectmanager.qbs
index f00f482031..5bf3631605 100644
--- a/src/plugins/qbsprojectmanager/qbsprojectmanager.qbs
+++ b/src/plugins/qbsprojectmanager/qbsprojectmanager.qbs
@@ -52,7 +52,7 @@ QtcPlugin {
"qbsprojectimporter.cpp",
"qbsprojectimporter.h",
"qbsprojectmanager.qrc",
- "qbsprojectmanager_global.h",
+ "qbsprojectmanager_global.h", "qbsprojectmanagertr.h",
"qbsprojectmanagerconstants.h",
"qbsprojectmanagerplugin.cpp",
"qbsprojectmanagerplugin.h",
diff --git a/src/plugins/qbsprojectmanager/qbsprojectmanagertr.h b/src/plugins/qbsprojectmanager/qbsprojectmanagertr.h
new file mode 100644
index 0000000000..cf3ca983c2
--- /dev/null
+++ b/src/plugins/qbsprojectmanager/qbsprojectmanagertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace QbsProjectManager {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(QbsProjectManager)
+};
+
+} // namespace QbsProjectManager
diff --git a/src/plugins/qmakeprojectmanager/CMakeLists.txt b/src/plugins/qmakeprojectmanager/CMakeLists.txt
index e1d3ddf264..6556e2c2b1 100644
--- a/src/plugins/qmakeprojectmanager/CMakeLists.txt
+++ b/src/plugins/qmakeprojectmanager/CMakeLists.txt
@@ -32,6 +32,7 @@ add_qtc_plugin(QmakeProjectManager
qmakeprojectimporter.cpp qmakeprojectimporter.h
qmakeprojectmanager.qrc
qmakeprojectmanager_global.h
+ qmakeprojectmanagertr.h
qmakeprojectmanagerconstants.h
qmakeprojectmanagerplugin.cpp qmakeprojectmanagerplugin.h
qmakesettings.cpp qmakesettings.h
diff --git a/src/plugins/qmakeprojectmanager/qmakeprojectmanager.qbs b/src/plugins/qmakeprojectmanager/qmakeprojectmanager.qbs
index 233dbef203..588230ffd9 100644
--- a/src/plugins/qmakeprojectmanager/qmakeprojectmanager.qbs
+++ b/src/plugins/qmakeprojectmanager/qmakeprojectmanager.qbs
@@ -41,7 +41,7 @@ Project {
"qmakenodetreebuilder.cpp", "qmakenodetreebuilder.h",
"qmakeproject.cpp", "qmakeproject.h",
"qmakeprojectmanager.qrc",
- "qmakeprojectmanager_global.h",
+ "qmakeprojectmanager_global.h", "qmakeprojectmanagertr.h",
"qmakeprojectmanagerconstants.h",
"qmakeprojectmanagerplugin.cpp", "qmakeprojectmanagerplugin.h",
]
diff --git a/src/plugins/qmakeprojectmanager/qmakeprojectmanagertr.h b/src/plugins/qmakeprojectmanager/qmakeprojectmanagertr.h
new file mode 100644
index 0000000000..73afcb1d46
--- /dev/null
+++ b/src/plugins/qmakeprojectmanager/qmakeprojectmanagertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace QmakeProjectManager {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(QmakeProjectManager)
+};
+
+} // namespace QmakeProjectManager
diff --git a/src/plugins/qmldesigner/qmldesignertr.h b/src/plugins/qmldesigner/qmldesignertr.h
new file mode 100644
index 0000000000..ebb5091364
--- /dev/null
+++ b/src/plugins/qmldesigner/qmldesignertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace QmlDesigner {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(QmlDesigner)
+};
+
+} // namespace QmlDesigner
diff --git a/src/plugins/qmljseditor/CMakeLists.txt b/src/plugins/qmljseditor/CMakeLists.txt
index de5ce58f0f..58b3adf1f9 100644
--- a/src/plugins/qmljseditor/CMakeLists.txt
+++ b/src/plugins/qmljseditor/CMakeLists.txt
@@ -10,6 +10,7 @@ add_qtc_plugin(QmlJSEditor
qmljseditingsettingspage.cpp qmljseditingsettingspage.h qmljseditingsettingspage.ui
qmljseditor.cpp qmljseditor.h
qmljseditor_global.h
+ qmljseditortr.h
qmljseditorconstants.h
qmljseditordocument.cpp qmljseditordocument.h qmljseditordocument_p.h
qmljseditorplugin.cpp qmljseditorplugin.h
diff --git a/src/plugins/qmljseditor/qmljseditor.qbs b/src/plugins/qmljseditor/qmljseditor.qbs
index a9d16c778c..b5f38ce713 100644
--- a/src/plugins/qmljseditor/qmljseditor.qbs
+++ b/src/plugins/qmljseditor/qmljseditor.qbs
@@ -31,7 +31,7 @@ QtcPlugin {
"qmljseditingsettingspage.ui",
"qmljseditor.cpp",
"qmljseditor.h",
- "qmljseditor_global.h",
+ "qmljseditor_global.h", "qmljseditortr.h",
"qmljseditorconstants.h",
"qmljseditordocument.cpp",
"qmljseditordocument.h",
diff --git a/src/plugins/qmljseditor/qmljseditortr.h b/src/plugins/qmljseditor/qmljseditortr.h
new file mode 100644
index 0000000000..bd4779e743
--- /dev/null
+++ b/src/plugins/qmljseditor/qmljseditortr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace QmlJSEditor {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(QmlJSEditor)
+};
+
+} // namespace QmlJSEditor
diff --git a/src/plugins/qmljstools/CMakeLists.txt b/src/plugins/qmljstools/CMakeLists.txt
index f0c3d6792d..ff53df82d8 100644
--- a/src/plugins/qmljstools/CMakeLists.txt
+++ b/src/plugins/qmljstools/CMakeLists.txt
@@ -19,6 +19,7 @@ add_qtc_plugin(QmlJSTools
qmljssemanticinfo.cpp qmljssemanticinfo.h
qmljstools.qrc
qmljstools_global.h
+ qmljstoolstr.h
qmljstoolsconstants.h
qmljstoolsplugin.cpp qmljstoolsplugin.h
qmljstoolssettings.cpp qmljstoolssettings.h
diff --git a/src/plugins/qmljstools/qmljstools.qbs b/src/plugins/qmljstools/qmljstools.qbs
index b619d9aead..9ce2a5f175 100644
--- a/src/plugins/qmljstools/qmljstools.qbs
+++ b/src/plugins/qmljstools/qmljstools.qbs
@@ -47,7 +47,7 @@ QtcPlugin {
"qmljsrefactoringchanges.h",
"qmljssemanticinfo.cpp",
"qmljssemanticinfo.h",
- "qmljstools_global.h",
+ "qmljstools_global.h", "qmljstoolstr.h",
"qmljstoolsconstants.h",
"qmljstoolsplugin.cpp",
"qmljstoolsplugin.h",
diff --git a/src/plugins/qmljstools/qmljstoolstr.h b/src/plugins/qmljstools/qmljstoolstr.h
new file mode 100644
index 0000000000..09057239c1
--- /dev/null
+++ b/src/plugins/qmljstools/qmljstoolstr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace QmlJSTools {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(QmlJSTools)
+};
+
+} // namespace QmlJSTools
diff --git a/src/plugins/qmlpreview/CMakeLists.txt b/src/plugins/qmlpreview/CMakeLists.txt
index 02435547d8..06eb01fed4 100644
--- a/src/plugins/qmlpreview/CMakeLists.txt
+++ b/src/plugins/qmlpreview/CMakeLists.txt
@@ -13,6 +13,7 @@ add_qtc_plugin(QmlPreview
qmlpreviewruncontrol.cpp qmlpreviewruncontrol.h
qmldebugtranslationclient.cpp qmldebugtranslationclient.h
qmlpreview_global.h
+ qmlpreviewtr.h
)
extend_qtc_plugin(QmlPreview
diff --git a/src/plugins/qmlpreview/qmlpreview.qbs b/src/plugins/qmlpreview/qmlpreview.qbs
index 08e6472578..7b0f96dde7 100644
--- a/src/plugins/qmlpreview/qmlpreview.qbs
+++ b/src/plugins/qmlpreview/qmlpreview.qbs
@@ -30,7 +30,7 @@ QtcPlugin {
"qmlpreviewconnectionmanager.h",
"qmlpreviewfileontargetfinder.cpp",
"qmlpreviewfileontargetfinder.h",
- "qmlpreview_global.h",
+ "qmlpreview_global.h", "qmlpreviewtr.h",
"qmlpreviewplugin.cpp",
"qmlpreviewplugin.h",
"qmlpreviewruncontrol.cpp",
diff --git a/src/plugins/qmlpreview/qmlpreviewtr.h b/src/plugins/qmlpreview/qmlpreviewtr.h
new file mode 100644
index 0000000000..584d4e74af
--- /dev/null
+++ b/src/plugins/qmlpreview/qmlpreviewtr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace QmlPreview {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(QmlPreview)
+};
+
+} // namespace QmlPreview
diff --git a/src/plugins/qmlprofiler/CMakeLists.txt b/src/plugins/qmlprofiler/CMakeLists.txt
index 2646774bae..7ea57fe944 100644
--- a/src/plugins/qmlprofiler/CMakeLists.txt
+++ b/src/plugins/qmlprofiler/CMakeLists.txt
@@ -38,6 +38,7 @@ set(QMLPROFILER_CPP_SOURCES
qmleventtype.cpp qmleventtype.h
qmlnote.cpp qmlnote.h
qmlprofiler_global.h
+ qmlprofilertr.h
qmlprofileractions.cpp qmlprofileractions.h
qmlprofileranimationsmodel.cpp qmlprofileranimationsmodel.h
qmlprofilerattachdialog.cpp qmlprofilerattachdialog.h
diff --git a/src/plugins/qmlprofiler/qmlprofiler.qbs b/src/plugins/qmlprofiler/qmlprofiler.qbs
index 041206c2e3..8b4b389a44 100644
--- a/src/plugins/qmlprofiler/qmlprofiler.qbs
+++ b/src/plugins/qmlprofiler/qmlprofiler.qbs
@@ -30,7 +30,7 @@ QtcPlugin {
"qmleventlocation.cpp", "qmleventlocation.h",
"qmleventtype.cpp", "qmleventtype.h",
"qmlnote.cpp", "qmlnote.h",
- "qmlprofiler_global.h",
+ "qmlprofiler_global.h", "qmlprofilertr.h",
"qmlprofileractions.h", "qmlprofileractions.cpp",
"qmlprofileranimationsmodel.h", "qmlprofileranimationsmodel.cpp",
"qmlprofilerattachdialog.cpp", "qmlprofilerattachdialog.h",
diff --git a/src/plugins/qmlprofiler/qmlprofilertr.h b/src/plugins/qmlprofiler/qmlprofilertr.h
new file mode 100644
index 0000000000..7021c873b8
--- /dev/null
+++ b/src/plugins/qmlprofiler/qmlprofilertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace QmlProfiler {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(QmlProfiler)
+};
+
+} // namespace QmlProfiler
diff --git a/src/plugins/qmlprojectmanager/CMakeLists.txt b/src/plugins/qmlprojectmanager/CMakeLists.txt
index 42013e5386..64dec0f86b 100644
--- a/src/plugins/qmlprojectmanager/CMakeLists.txt
+++ b/src/plugins/qmlprojectmanager/CMakeLists.txt
@@ -26,6 +26,7 @@ add_qtc_plugin(QmlProjectManager
qmlproject.qrc
qmlprojectconstants.h
qmlprojectmanager_global.h
+ qmlprojectmanagertr.h
qmlprojectmanagerconstants.h
qmlprojectnodes.cpp qmlprojectnodes.h
qmlprojectplugin.cpp qmlprojectplugin.h
diff --git a/src/plugins/qmlprojectmanager/qmlprojectmanager.qbs b/src/plugins/qmlprojectmanager/qmlprojectmanager.qbs
index 0bac36cf7c..9eac76dc6c 100644
--- a/src/plugins/qmlprojectmanager/qmlprojectmanager.qbs
+++ b/src/plugins/qmlprojectmanager/qmlprojectmanager.qbs
@@ -23,7 +23,7 @@ QtcPlugin {
"qmlproject.cpp", "qmlproject.h",
"qmlproject.qrc",
"qmlprojectconstants.h",
- "qmlprojectmanager_global.h",
+ "qmlprojectmanager_global.h", "qmlprojectmanagertr.h",
"qmlprojectmanagerconstants.h",
"qmlprojectnodes.cpp", "qmlprojectnodes.h",
"qmlprojectplugin.cpp", "qmlprojectplugin.h",
diff --git a/src/plugins/qmlprojectmanager/qmlprojectmanagertr.h b/src/plugins/qmlprojectmanager/qmlprojectmanagertr.h
new file mode 100644
index 0000000000..f57f5efea1
--- /dev/null
+++ b/src/plugins/qmlprojectmanager/qmlprojectmanagertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace QmlProjectManager {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(QmlProjectManager)
+};
+
+} // namespace QmlProjectManager
diff --git a/src/plugins/qnx/qnxtr.h b/src/plugins/qnx/qnxtr.h
new file mode 100644
index 0000000000..783e5986ac
--- /dev/null
+++ b/src/plugins/qnx/qnxtr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Qnx {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Qnx)
+};
+
+} // namespace Qnx
diff --git a/src/plugins/qtsupport/CMakeLists.txt b/src/plugins/qtsupport/CMakeLists.txt
index b3cd6b045e..1488569d5a 100644
--- a/src/plugins/qtsupport/CMakeLists.txt
+++ b/src/plugins/qtsupport/CMakeLists.txt
@@ -22,6 +22,7 @@ add_qtc_plugin(QtSupport
qtprojectimporter.cpp qtprojectimporter.h
qtsupport.qrc
qtsupport_global.h
+ qtsupporttr.h
qtsupportconstants.h
qtsupportplugin.cpp qtsupportplugin.h
qttestparser.cpp qttestparser.h
diff --git a/src/plugins/qtsupport/qtsupport.qbs b/src/plugins/qtsupport/qtsupport.qbs
index e234f45de7..8ee9a3eb7b 100644
--- a/src/plugins/qtsupport/qtsupport.qbs
+++ b/src/plugins/qtsupport/qtsupport.qbs
@@ -88,7 +88,7 @@ Project {
"qtoutputformatter.h",
"qtparser.cpp",
"qtparser.h",
- "qtsupport_global.h",
+ "qtsupport_global.h", "qtsupporttr.h",
"qtsupportconstants.h",
"qtsupportplugin.cpp",
"qtsupportplugin.h",
diff --git a/src/plugins/qtsupport/qtsupporttr.h b/src/plugins/qtsupport/qtsupporttr.h
new file mode 100644
index 0000000000..96b2b193e4
--- /dev/null
+++ b/src/plugins/qtsupport/qtsupporttr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace QtSupport {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(QtSupport)
+};
+
+} // namespace QtSupport
diff --git a/src/plugins/remotelinux/remotelinuxtr.h b/src/plugins/remotelinux/remotelinuxtr.h
new file mode 100644
index 0000000000..b9ef669b27
--- /dev/null
+++ b/src/plugins/remotelinux/remotelinuxtr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace RemoteLinux {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(RemoteLinux)
+};
+
+} // namespace RemoteLinux
diff --git a/src/plugins/resourceeditor/resourceeditortr.h b/src/plugins/resourceeditor/resourceeditortr.h
new file mode 100644
index 0000000000..7ae6622142
--- /dev/null
+++ b/src/plugins/resourceeditor/resourceeditortr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace ResourceEditor {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(ResourceEditor)
+};
+
+} // namespace ResourceEditor
diff --git a/src/plugins/scxmleditor/CMakeLists.txt b/src/plugins/scxmleditor/CMakeLists.txt
index b3d5f9e22e..68c96d73ee 100644
--- a/src/plugins/scxmleditor/CMakeLists.txt
+++ b/src/plugins/scxmleditor/CMakeLists.txt
@@ -83,6 +83,7 @@ add_qtc_plugin(ScxmlEditor
plugin_interface/warningitem.cpp plugin_interface/warningitem.h
plugin_interface/warningprovider.h
scxmleditor_global.h
+ scxmleditortr.h
scxmleditorconstants.h
scxmleditordata.cpp scxmleditordata.h
scxmleditordocument.cpp scxmleditordocument.h
diff --git a/src/plugins/scxmleditor/scxmleditor.qbs b/src/plugins/scxmleditor/scxmleditor.qbs
index 2b30a29c5a..f6212f7e55 100644
--- a/src/plugins/scxmleditor/scxmleditor.qbs
+++ b/src/plugins/scxmleditor/scxmleditor.qbs
@@ -21,7 +21,7 @@ QtcPlugin {
])
files: [
- "scxmleditor_global.h",
+ "scxmleditor_global.h", "scxmleditortr.h",
"scxmleditorconstants.h",
"scxmleditordata.cpp", "scxmleditordata.h",
"scxmleditordocument.cpp", "scxmleditordocument.h",
diff --git a/src/plugins/scxmleditor/scxmleditortr.h b/src/plugins/scxmleditor/scxmleditortr.h
new file mode 100644
index 0000000000..049f0e0664
--- /dev/null
+++ b/src/plugins/scxmleditor/scxmleditortr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace ScxmlEditor {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(ScxmlEditor)
+};
+
+} // namespace ScxmlEditor
diff --git a/src/plugins/silversearcher/silversearchertr.h b/src/plugins/silversearcher/silversearchertr.h
new file mode 100644
index 0000000000..a1f4ad9ac0
--- /dev/null
+++ b/src/plugins/silversearcher/silversearchertr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace SilverSearcher {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(SilverSearcher)
+};
+
+} // namespace SilverSearcher
diff --git a/src/plugins/studiowelcome/CMakeLists.txt b/src/plugins/studiowelcome/CMakeLists.txt
index 82e2c78beb..5550dc2003 100644
--- a/src/plugins/studiowelcome/CMakeLists.txt
+++ b/src/plugins/studiowelcome/CMakeLists.txt
@@ -9,6 +9,7 @@ add_qtc_plugin(StudioWelcome
presetmodel.cpp presetmodel.h
examplecheckout.cpp examplecheckout.h
studiowelcome_global.h
+ studiowelcometr.h
qdsnewdialog.cpp qdsnewdialog.h
wizardfactories.cpp wizardfactories.h
createproject.cpp createproject.h
diff --git a/src/plugins/studiowelcome/studiowelcome.qbs b/src/plugins/studiowelcome/studiowelcome.qbs
index 7d254824ba..085d1015bd 100644
--- a/src/plugins/studiowelcome/studiowelcome.qbs
+++ b/src/plugins/studiowelcome/studiowelcome.qbs
@@ -28,7 +28,7 @@ QtcPlugin {
"qdsnewdialog.cpp",
"qdsnewdialog.h",
"screensizemodel.h",
- "studiowelcome_global.h",
+ "studiowelcome_global.h", "studiowelcometr.h",
"studiowelcomeplugin.h",
"studiowelcomeplugin.cpp",
"studiowelcome.qrc",
diff --git a/src/plugins/studiowelcome/studiowelcometr.h b/src/plugins/studiowelcome/studiowelcometr.h
new file mode 100644
index 0000000000..28f7f91b97
--- /dev/null
+++ b/src/plugins/studiowelcome/studiowelcometr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace StudioWelcome {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(StudioWelcome)
+};
+
+} // namespace StudioWelcome
diff --git a/src/plugins/subversion/subversiontr.h b/src/plugins/subversion/subversiontr.h
new file mode 100644
index 0000000000..f0a1bf0aa7
--- /dev/null
+++ b/src/plugins/subversion/subversiontr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Subversion {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Subversion)
+};
+
+} // namespace Subversion
diff --git a/src/plugins/texteditor/CMakeLists.txt b/src/plugins/texteditor/CMakeLists.txt
index 73b52c8bc9..4688875cd1 100644
--- a/src/plugins/texteditor/CMakeLists.txt
+++ b/src/plugins/texteditor/CMakeLists.txt
@@ -96,6 +96,7 @@ add_qtc_plugin(TextEditor
texteditor.cpp texteditor.h
texteditor.qrc
texteditor_global.h
+ texteditortr.h
texteditor_p.h
texteditoractionhandler.cpp texteditoractionhandler.h
texteditorconstants.cpp texteditorconstants.h
diff --git a/src/plugins/texteditor/texteditor.qbs b/src/plugins/texteditor/texteditor.qbs
index b25d0ea222..46972f00ec 100644
--- a/src/plugins/texteditor/texteditor.qbs
+++ b/src/plugins/texteditor/texteditor.qbs
@@ -131,7 +131,7 @@ Project {
"texteditor.cpp",
"texteditor.h",
"texteditor.qrc",
- "texteditor_global.h",
+ "texteditor_global.h", "texteditortr.h",
"texteditor_p.h",
"texteditoractionhandler.cpp",
"texteditoractionhandler.h",
diff --git a/src/plugins/texteditor/texteditortr.h b/src/plugins/texteditor/texteditortr.h
new file mode 100644
index 0000000000..78028637d9
--- /dev/null
+++ b/src/plugins/texteditor/texteditortr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace TextEditor {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(TextEditor)
+};
+
+} // namespace TextEditor
diff --git a/src/plugins/todo/todotr.h b/src/plugins/todo/todotr.h
new file mode 100644
index 0000000000..8ac3f4eaf5
--- /dev/null
+++ b/src/plugins/todo/todotr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Todo {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Todo)
+};
+
+} // namespace Todo
diff --git a/src/plugins/updateinfo/updateinfotr.h b/src/plugins/updateinfo/updateinfotr.h
new file mode 100644
index 0000000000..0ad40514d6
--- /dev/null
+++ b/src/plugins/updateinfo/updateinfotr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace UpdateInfo {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(UpdateInfo)
+};
+
+} // namespace UpdateInfo
diff --git a/src/plugins/valgrind/valgrindtr.h b/src/plugins/valgrind/valgrindtr.h
new file mode 100644
index 0000000000..2fc184bdc9
--- /dev/null
+++ b/src/plugins/valgrind/valgrindtr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Valgrind {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Valgrind)
+};
+
+} // namespace Valgrind
diff --git a/src/plugins/vcsbase/CMakeLists.txt b/src/plugins/vcsbase/CMakeLists.txt
index d5623d7353..1d879a127d 100644
--- a/src/plugins/vcsbase/CMakeLists.txt
+++ b/src/plugins/vcsbase/CMakeLists.txt
@@ -16,6 +16,7 @@ add_qtc_plugin(VcsBase
submitfilemodel.cpp submitfilemodel.h
vcsbase.qrc
vcsbase_global.h
+ vcsbasetr.h
vcsbaseclient.cpp vcsbaseclient.h
vcsbaseclientsettings.cpp vcsbaseclientsettings.h
vcsbaseconstants.h
diff --git a/src/plugins/vcsbase/vcsbase.qbs b/src/plugins/vcsbase/vcsbase.qbs
index 5887c02138..0fc0d8c805 100644
--- a/src/plugins/vcsbase/vcsbase.qbs
+++ b/src/plugins/vcsbase/vcsbase.qbs
@@ -45,7 +45,7 @@ QtcPlugin {
"submitfilemodel.cpp",
"submitfilemodel.h",
"vcsbase.qrc",
- "vcsbase_global.h",
+ "vcsbase_global.h", "vcsbasetr.h",
"vcsbaseclient.cpp",
"vcsbaseclient.h",
"vcsbaseclientsettings.cpp",
diff --git a/src/plugins/vcsbase/vcsbasetr.h b/src/plugins/vcsbase/vcsbasetr.h
new file mode 100644
index 0000000000..b791d03f65
--- /dev/null
+++ b/src/plugins/vcsbase/vcsbasetr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace VcsBase {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(VcsBase)
+};
+
+} // namespace VcsBase
diff --git a/src/plugins/webassembly/CMakeLists.txt b/src/plugins/webassembly/CMakeLists.txt
index 8bb1aa9e11..b58bcbb355 100644
--- a/src/plugins/webassembly/CMakeLists.txt
+++ b/src/plugins/webassembly/CMakeLists.txt
@@ -4,6 +4,7 @@ add_qtc_plugin(WebAssembly
SOURCES
webassembly.qrc
webassembly_global.h
+ webassemblytr.h
webassemblyconstants.h
webassemblydevice.cpp webassemblydevice.h
webassemblyemsdk.cpp webassemblyemsdk.h
diff --git a/src/plugins/webassembly/webassembly.qbs b/src/plugins/webassembly/webassembly.qbs
index 34862beaa6..e13b329aa5 100644
--- a/src/plugins/webassembly/webassembly.qbs
+++ b/src/plugins/webassembly/webassembly.qbs
@@ -13,7 +13,7 @@ QtcPlugin {
files: [
"webassembly.qrc",
- "webassembly_global.h",
+ "webassembly_global.h", "webassemblytr.h",
"webassemblyconstants.h",
"webassemblydevice.cpp",
"webassemblydevice.h",
diff --git a/src/plugins/webassembly/webassemblytr.h b/src/plugins/webassembly/webassemblytr.h
new file mode 100644
index 0000000000..6b336ab338
--- /dev/null
+++ b/src/plugins/webassembly/webassemblytr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace WebAssembly {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(WebAssembly)
+};
+
+} // namespace WebAssembly
diff --git a/src/plugins/welcome/welcometr.h b/src/plugins/welcome/welcometr.h
new file mode 100644
index 0000000000..be2a917378
--- /dev/null
+++ b/src/plugins/welcome/welcometr.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <QCoreApplication>
+
+namespace Welcome {
+
+struct Tr
+{
+ Q_DECLARE_TR_FUNCTIONS(Welcome)
+};
+
+} // namespace Welcome