diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-05-03 17:10:29 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-05-03 21:41:28 +0000 |
commit | 42a995c1e680e7fe13175146b831a322e1c77781 (patch) | |
tree | a143de79ba53c47af9b11e9ee8e4314a7b38eaa1 /src | |
parent | 4fa6f76cdd458cf76ae2217b1c2685994d0a4689 (diff) |
Add a separate TU for bluez_data_p.h
The header contains moc-able content, and it's the last moc-file
included in the module's mocs_compilation.cpp, so add a bluez_data.cpp
and include the moc file there.
No moc-able content in 5.15, so just
Pick-to: 6.3 6.2
Task-number: QTBUG-103207
Change-Id: Icac94ba5b85fd22d20372b4b691dd66b75fbb6e8
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/bluetooth/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/bluetooth/bluez/bluez_data.cpp | 46 |
2 files changed, 47 insertions, 1 deletions
diff --git a/src/bluetooth/CMakeLists.txt b/src/bluetooth/CMakeLists.txt index 6c75e983..f6736f98 100644 --- a/src/bluetooth/CMakeLists.txt +++ b/src/bluetooth/CMakeLists.txt @@ -60,7 +60,7 @@ if(QT_FEATURE_bluez) bluez/battery1.cpp bluez/battery1_p.h bluez/bluetoothmanagement.cpp bluez/bluetoothmanagement_p.h bluez/bluez5_helper.cpp bluez/bluez5_helper_p.h - bluez/bluez_data_p.h + bluez/bluez_data.cpp bluez/bluez_data_p.h bluez/device1_bluez5.cpp bluez/device1_bluez5_p.h bluez/gattchar1.cpp bluez/gattchar1_p.h bluez/gattdesc1.cpp bluez/gattdesc1_p.h diff --git a/src/bluetooth/bluez/bluez_data.cpp b/src/bluetooth/bluez/bluez_data.cpp new file mode 100644 index 00000000..8903e607 --- /dev/null +++ b/src/bluetooth/bluez/bluez_data.cpp @@ -0,0 +1,46 @@ +/**************************************************************************** +** +** Copyright (C) 2022 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the QtBluetooth module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** 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 Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or 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.GPL2 and 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-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include "bluez_data_p.h" + +QT_BEGIN_NAMESPACE + +QT_END_NAMESPACE + +#include "moc_bluez_data_p.cpp" |