diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> | 2014-03-31 10:26:00 +0200 |
---|---|---|
committer | Eskil Abrahamsen-Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> | 2014-03-31 15:02:04 +0300 |
commit | 5d7008acbf25354f0fe9040b43696d02cf959cfd (patch) | |
tree | 8949b1d2b006463fd5297fd0d3811d0ea4abc131 | |
parent | 903df193008e0e1efe580b0695ac52884f344ad7 (diff) |
Fix warning when building QML API
For multiple inheritance in QObject classes, we need to declare
the interfaces.
Task-number: QTRD-2987
Change-Id: If9462c0fe7849a460107a38d1649502af7944cd4
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
-rw-r--r-- | src/imports/purchasing/qinappproductqmltype_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/purchasing/qinappproductqmltype_p.h b/src/imports/purchasing/qinappproductqmltype_p.h index 07eef04..e718787 100644 --- a/src/imports/purchasing/qinappproductqmltype_p.h +++ b/src/imports/purchasing/qinappproductqmltype_p.h @@ -32,6 +32,7 @@ class QInAppStoreQmlType; class QInAppProductQmlType : public QObject, public QQmlParserStatus { Q_OBJECT + Q_INTERFACES(QQmlParserStatus) Q_ENUMS(Status ProductType) Q_PROPERTY(QString identifier READ identifier WRITE setIdentifier NOTIFY identifierChanged) Q_PROPERTY(ProductType type READ type WRITE setType NOTIFY typeChanged) |