diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-05-09 15:40:41 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-05-09 23:42:21 +0200 |
commit | c2b1aad7918d23f3094525c0a57ae4c9fd88b81e (patch) | |
tree | ea89ee84f7e852621289c92a3db5d7ff6f5437d1 /src/qml/jsruntime/qv4debugging.cpp | |
parent | d432e5621a0a163ea5609229ef94f83235de4050 (diff) | |
download | qtdeclarative-c2b1aad7918d23f3094525c0a57ae4c9fd88b81e.tar.gz |
Add a TU for QV4::Debugging::Debugger to de-inline dtor & includemocs
Destructors of polymorphic classes should be out-of-line.
Header moc files should be included into the implementation files.
Both need a TU, so add one.
Task-number: QTBUG-102948
Task-number: QTBUG-45582
Change-Id: Ia596ec1cab1e4c1f91e42cf217a7df7cbd0d91ad
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4debugging.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4debugging.cpp | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4debugging.cpp b/src/qml/jsruntime/qv4debugging.cpp new file mode 100644 index 0000000000..93e5f6897c --- /dev/null +++ b/src/qml/jsruntime/qv4debugging.cpp @@ -0,0 +1,53 @@ +/**************************************************************************** +** +** Copyright (C) 2022 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the QtQml 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 "qv4debugging_p.h" + +#if QT_CONFIG(qml_debug) + +QT_BEGIN_NAMESPACE + +QV4::Debugging::Debugger::~Debugger() + = default; + +QT_END_NAMESPACE + +#include "moc_qv4debugging_p.cpp" + +#endif // QT_CONFIG(qml_debug) |