Qt Utilities: misc/disablewarningsmoc.h Source File

Qt Utilities 6.20.0 Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models

Loading...
Searching...
No Matches
disablewarningsmoc.h
Go to the documentation of this file.
1#ifndef QT_UTILITIES_DISABLE_WARNINGS_MOC_H
2#define QT_UTILITIES_DISABLE_WARNINGS_MOC_H
3
4#include <QtGlobal> // for QtCompilerDetection
5
13
14#define QT_UTILITIES_DISABLE_WARNINGS_FOR_MOC_INCLUDE \
15 QT_WARNING_PUSH \
16 QT_WARNING_DISABLE_GCC("-Wsign-conversion") \
17 QT_WARNING_DISABLE_CLANG("-Wsign-conversion")
18#define QT_UTILITIES_RESTORE_WARNINGS_FOR_MOC_INCLUDE QT_WARNING_POP
19
20#endif // QT_UTILITIES_DISABLE_WARNINGS_MOC_H