20#include <QtCore/qglobal.h>
21#include <QtQuick3DUtils/qtquick3dutilsexports.h>
30#define QSSG_DEBUG_COND(cond) (cond)
32#define QSSG_DEBUG_COND(cond) (true || (cond))
35#define QSSG_ASSERT_STRINGIFY_HELPER(x) #x
37#define QSSG_ASSERT_STRING_X(msg) QT_PREPEND_NAMESPACE(qssgWriteAssertLocation)(msg)
44#define QSSG_ASSERT(cond, action) if (Q_LIKELY(cond)) {} else { QSSG_ASSERT_STRING(#cond); action; } do {} while (0
)
45#define QSSG_ASSERT_X(cond, msg, action) if (Q_LIKELY(cond)) {} else { QSSG_ASSERT_STRING_X(msg); action; } do {} while (0
)
46#define QSSG_CHECK(cond) if (Q_LIKELY(cond)) {} else { QSSG_ASSERT_STRING(#cond); } do {} while (0
)
Combined button and popup list for selecting options.
QT_BEGIN_NAMESPACE void qssgWriteAssertLocation(const char *msg)
Collection of assert checks that causes a soft or hard assert depending on the build.
#define QSSG_ASSERT_STRING_X(msg)
#define QSSG_ASSERT_STRINGIFY(x)
#define QSSG_ASSERT_STRINGIFY_HELPER(x)
#define QSSG_ASSERT_STRING(cond)