qt: fix QQuickImageProvider deriving from QObject since Qt 6

This commit is contained in:
Fatih Uzunoglu 2023-09-19 16:07:19 +03:00 committed by Jean-Baptiste Kempf
parent 9602401aa1
commit 1488db7f68
1 changed files with 5 additions and 1 deletions

View File

@ -24,7 +24,11 @@
#include <QSize>
#include <QQuickImageProvider>
class EffectsImageProvider : public QObject, public QQuickImageProvider
class EffectsImageProvider :
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
public QObject,
#endif
public QQuickImageProvider
{
Q_OBJECT