Fix an ABI break caused by too-aggressive deprecation
Task-number: QTBUG-62516 Change-Id: Ia3b36cddae982cc6fb9f857505be6e38bc8aaa64 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
106d3b9bf9
commit
38db7b1464
@ -1194,7 +1194,7 @@ QT_BEGIN_INCLUDE_NAMESPACE
|
||||
#include "qpictureformatplugin.h"
|
||||
QT_END_INCLUDE_NAMESPACE
|
||||
|
||||
#if QT_DEPRECATED_SINCE(5, 0)
|
||||
#if QT_DEPRECATED_SINCE(5, 10)
|
||||
/*!
|
||||
\obsolete
|
||||
|
||||
@ -1280,7 +1280,7 @@ QList<QByteArray> QPicture::outputFormats()
|
||||
{
|
||||
return QPictureIO::outputFormats();
|
||||
}
|
||||
#endif // QT_DEPRECATED_SINCE(5, 0)
|
||||
#endif // QT_DEPRECATED_SINCE(5, 10)
|
||||
|
||||
/*****************************************************************************
|
||||
QPictureIO member functions
|
||||
|
@ -90,13 +90,13 @@ public:
|
||||
friend Q_GUI_EXPORT QDataStream &operator<<(QDataStream &in, const QPicture &p);
|
||||
friend Q_GUI_EXPORT QDataStream &operator>>(QDataStream &in, QPicture &p);
|
||||
|
||||
#if QT_DEPRECATED_SINCE(5, 0)
|
||||
#if QT_DEPRECATED_SINCE(5, 10)
|
||||
static QT_DEPRECATED const char* pictureFormat(const QString &fileName);
|
||||
static QT_DEPRECATED QList<QByteArray> inputFormats();
|
||||
static QT_DEPRECATED QList<QByteArray> outputFormats();
|
||||
static QT_DEPRECATED QStringList inputFormatList();
|
||||
static QT_DEPRECATED QStringList outputFormatList();
|
||||
#endif // QT_DEPRECATED_SINCE(5, 0)
|
||||
#endif // QT_DEPRECATED_SINCE(5, 10)
|
||||
|
||||
QPaintEngine *paintEngine() const Q_DECL_OVERRIDE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user