Ignore some compiler warnings from qt side
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
ffeb4e38f9
commit
4aced2409b
|
@ -20,6 +20,10 @@
|
|||
#include <QtCore/qmath.h>
|
||||
#include <QtCore/QStringBuilder>
|
||||
|
||||
#if defined(__GNUC__) && __GNUC__ >= 8
|
||||
# pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
||||
#endif
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
|
||||
# include <QtGui/QPainter>
|
||||
# include <QtGui/QPainterPath>
|
||||
|
@ -43,9 +47,6 @@
|
|||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wdeprecated-register"
|
||||
# endif
|
||||
# if defined(__GNUC__) && __GNUC__ >= 8
|
||||
# pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
||||
# endif
|
||||
# include <QtGui/QPainter>
|
||||
# include <QtGui/QPainterPath>
|
||||
# include <QtGui/QPixmapCache>
|
||||
|
@ -60,14 +61,15 @@
|
|||
# include <QtGui/QSpinBox>
|
||||
# include <QtGui/QSplitter>
|
||||
# include <QtGui/QWizard>
|
||||
# if defined(__GNUC__) && __GNUC__ >= 8
|
||||
# pragma GCC diagnostic pop
|
||||
# endif
|
||||
# ifdef __clang__
|
||||
# pragma clang diagnostic pop
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && __GNUC__ >= 8
|
||||
# pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 13, 0))
|
||||
|
|
|
@ -25,6 +25,11 @@
|
|||
|
||||
#include <QtCore/Qt>
|
||||
|
||||
#if defined(__GNUC__) && __GNUC__ >= 8
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
||||
#endif
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
|
||||
# include <QtWidgets/QCommonStyle>
|
||||
#else
|
||||
|
@ -33,19 +38,18 @@
|
|||
# pragma clang diagnostic ignored "-Wdeprecated-register"
|
||||
# endif
|
||||
# if defined(__GNUC__) && __GNUC__ >= 8
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Wclass-memaccess"
|
||||
# pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
||||
# endif
|
||||
# include <QtGui/QCommonStyle>
|
||||
# if defined(__GNUC__) && __GNUC__ >= 8
|
||||
# pragma GCC diagnostic pop
|
||||
# endif
|
||||
# ifdef __clang__
|
||||
# pragma clang diagnostic pop
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && __GNUC__ >= 8
|
||||
# pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
class CarlaStylePrivate;
|
||||
|
||||
class CarlaStyle : public QCommonStyle
|
||||
|
|
|
@ -19,7 +19,14 @@
|
|||
#include "CarlaStyle.hpp"
|
||||
|
||||
#ifdef CARLA_OS_WIN
|
||||
# if defined(__GNUC__) && __GNUC__ >= 8
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
||||
# endif
|
||||
# include <QtWidgets/QApplication>
|
||||
# if defined(__GNUC__) && __GNUC__ >= 8
|
||||
# pragma GCC diagnostic pop
|
||||
# endif
|
||||
#endif
|
||||
|
||||
CarlaStylePlugin::CarlaStylePlugin(QObject* parentObj)
|
||||
|
|
Loading…
Reference in New Issue