diff options
author | hjk <[email protected]> | 2022-09-01 11:57:29 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2022-09-01 11:37:30 +0000 |
commit | a621aa1d8bcc4f2061ae53f3f1e5928f2110e3c7 (patch) | |
tree | 035eb67c8370bc38ed853f46973ffd6a19fe4109 /src/libs/tracing | |
parent | 69f55ea9915ec1495a9e9711f66c14e63f49d45d (diff) |
Libs: Add *tr.h file
Change-Id: I827d3bc1fd24cf2e3fb6dbe9d255f12cc91cd409
Reviewed-by: Alessandro Portale <[email protected]>
Diffstat (limited to 'src/libs/tracing')
-rw-r--r-- | src/libs/tracing/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/libs/tracing/tracing.qbs | 1 | ||||
-rw-r--r-- | src/libs/tracing/tracingtr.h | 15 |
3 files changed, 17 insertions, 0 deletions
diff --git a/src/libs/tracing/CMakeLists.txt b/src/libs/tracing/CMakeLists.txt index 92e416aa280..3b8eed445a9 100644 --- a/src/libs/tracing/CMakeLists.txt +++ b/src/libs/tracing/CMakeLists.txt @@ -30,6 +30,7 @@ set(TRACING_CPP_SOURCES traceeventtype.h tracestashfile.h tracing_global.h + tracingtr.h ) find_package(Qt6 COMPONENTS ShaderTools QUIET) diff --git a/src/libs/tracing/tracing.qbs b/src/libs/tracing/tracing.qbs index 50bdb58c01e..b2bea3649c1 100644 --- a/src/libs/tracing/tracing.qbs +++ b/src/libs/tracing/tracing.qbs @@ -36,6 +36,7 @@ Project { "timelinetracemanager.cpp", "timelinetracemanager.h", "timelinezoomcontrol.cpp", "timelinezoomcontrol.h", "traceevent.h", "traceeventtype.h", "tracestashfile.h" + "tracingtr.h", ] } diff --git a/src/libs/tracing/tracingtr.h b/src/libs/tracing/tracingtr.h new file mode 100644 index 00000000000..12da89810e7 --- /dev/null +++ b/src/libs/tracing/tracingtr.h @@ -0,0 +1,15 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 + +#pragma once + +#include <QCoreApplication> + +namespace Tracing { + +struct Tr +{ + Q_DECLARE_TR_FUNCTIONS(Tracing) +}; + +} // Tracing |