Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
7
140void qssgWriteAssertLocation(const char *msg)
141{
142#if defined(QT_BUILD_INTERNAL)
143 qFatal("ASSERT: %s", msg);
144#else
145 qWarning("Unexpected condition met: %s", msg);
146#endif
147}
148
Combined button and popup list for selecting options.
#define qWarning
Definition qlogging.h:166
#define qFatal
Definition qlogging.h:168
QT_BEGIN_NAMESPACE void qssgWriteAssertLocation(const char *msg)
Collection of assert checks that causes a soft or hard assert depending on the build.