Qt
6.x
The Qt SDK
Loading...
Searching...
No Matches
qssgassert.cpp
Go to the documentation of this file.
1
// Copyright (C) 2022 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4
#include "
qssgassert_p.h
"
5
6
QT_BEGIN_NAMESPACE
7
119
void
qssgWriteAssertLocation
(
const
char
*msg)
120
{
121
#if defined(QT_BUILD_INTERNAL)
122
qFatal
(
"ASSERT: %s"
, msg);
123
#else
124
qWarning
(
"Unexpected condition met: %s"
, msg);
125
#endif
126
}
127
128
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
qWarning
#define qWarning
Definition
qlogging.h:162
qFatal
#define qFatal
Definition
qlogging.h:164
qssgWriteAssertLocation
QT_BEGIN_NAMESPACE void qssgWriteAssertLocation(const char *msg)
Collection of assert checks that causes a soft or hard assert depending on the build.
Definition
qssgassert.cpp:119
qssgassert_p.h
qtquick3d
src
utils
qssgassert.cpp
Generated by
1.9.7