Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
dummy_helper.cpp
Go to the documentation of this file.
1
// Copyright (C) 2017 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
include
<
QtCore
/
QGlobalStatic
>
5
#
include
<
QtCore
/
QLoggingCategory
>
6
7
#
include
"dummy_helper_p.h"
8
9
QT_BEGIN_NAMESPACE
10
11
Q_DECLARE_LOGGING_CATEGORY(QT_BT)
12
13
Q_GLOBAL_STATIC_WITH_ARGS(
bool
, dummyWarningPrinted, (
false
))
14
15
void
printDummyWarning()
16
{
17
if
(!*dummyWarningPrinted()) {
18
qCWarning(QT_BT) <<
"Dummy backend running. Qt Bluetooth module is non-functional."
;
19
*dummyWarningPrinted() =
true
;
20
}
21
}
22
23
QT_END_NAMESPACE
QPlatformGraphicsBufferHelper
\inmodule QtGui
qtconnectivity
src
bluetooth
dummy
dummy_helper.cpp
Generated on
for Qt by
1.14.0