summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2022-05-31 20:20:31 +0200
committerLiang Qi <liang.qi@qt.io>2022-06-01 10:57:49 +0200
commite5f180987fcc9e18f0cd4c87d78c6ba117704f82 (patch)
treefd2c4e5bd846ca8a8210a528c2b95a2c1929199f
parent55223c995b3895daa34e7ad632544d9a6bf80187 (diff)
downloadqtwayland-e5f180987fcc9e18f0cd4c87d78c6ba117704f82.tar.gz
Add a TU for qwaylandcompositorquickextensions_p.h
Just to include the moc file. It's otherwise the only one left in mocs_compilation.cpp and we might want to introduce a warning later on if something ends up in there, to maintain the newly-established includemocs level. Pick-to: 6.3 6.2 Task-number: QTBUG-103295 Change-Id: Ic4dd94ab1a6ca20c4e0350066c875895841f4168 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
-rw-r--r--src/compositor/CMakeLists.txt2
-rw-r--r--src/compositor/compositor_api/qwaylandcompositorquickextensions.cpp36
2 files changed, 37 insertions, 1 deletions
diff --git a/src/compositor/CMakeLists.txt b/src/compositor/CMakeLists.txt
index 032c8a66..d5d920bc 100644
--- a/src/compositor/CMakeLists.txt
+++ b/src/compositor/CMakeLists.txt
@@ -157,7 +157,7 @@ qt_internal_extend_target(WaylandCompositor CONDITION TARGET Qt::Quick
qt_internal_extend_target(WaylandCompositor CONDITION QT_FEATURE_wayland_compositor_quick
SOURCES
- compositor_api/qwaylandcompositorquickextensions_p.h
+ compositor_api/qwaylandcompositorquickextensions.cpp compositor_api/qwaylandcompositorquickextensions_p.h
compositor_api/qwaylandmousetracker.cpp compositor_api/qwaylandmousetracker_p.h
compositor_api/qwaylandquickchildren.h
compositor_api/qwaylandquickcompositor.cpp compositor_api/qwaylandquickcompositor.h
diff --git a/src/compositor/compositor_api/qwaylandcompositorquickextensions.cpp b/src/compositor/compositor_api/qwaylandcompositorquickextensions.cpp
new file mode 100644
index 00000000..01b435fb
--- /dev/null
+++ b/src/compositor/compositor_api/qwaylandcompositorquickextensions.cpp
@@ -0,0 +1,36 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the QtWaylandCompositor module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** 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 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** 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.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "qwaylandcompositorquickextensions_p.h"
+
+QT_BEGIN_NAMESPACE
+
+QT_END_NAMESPACE
+
+#include "moc_qwaylandcompositorquickextensions_p.cpp"