diff options
author | Jan Arve Saether <jan-arve.saether@qt.io> | 2020-03-24 15:33:03 +0100 |
---|---|---|
committer | Jan Arve Saether <jan-arve.saether@qt.io> | 2020-03-25 10:46:59 +0100 |
commit | e472d9e935238cf097ac1df3726e2da3e2fdcb46 (patch) | |
tree | 6c57075420ea086cef93a6083270198a10f6d334 /src/dialogs/qquickcolordialog_p.h | |
parent | c96ed0b5ed5d868de8fc24b6498d482564bbc1b7 (diff) | |
download | qtquickcontrols-e472d9e935238cf097ac1df3726e2da3e2fdcb46.tar.gz |
Compile controls after changes in the meta system that broke it
Problem was that moc needs to have the full definition of the types,
it's not sufficient for it to have a fwd-declared type anymore.
Change-Id: Ie1f1402d53e4336cd4afd018f5ae4dbdc88118c6
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/dialogs/qquickcolordialog_p.h')
-rw-r--r-- | src/dialogs/qquickcolordialog_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dialogs/qquickcolordialog_p.h b/src/dialogs/qquickcolordialog_p.h index 619b7b10..2e252b39 100644 --- a/src/dialogs/qquickcolordialog_p.h +++ b/src/dialogs/qquickcolordialog_p.h @@ -61,6 +61,8 @@ class QQuickColorDialog : public QQuickAbstractColorDialog Q_PROPERTY(QQuickItem* contentItem READ contentItem WRITE setContentItem DESIGNABLE false) Q_CLASSINFO("DefaultProperty", "contentItem") // AbstractColorDialog in QML can have only one child + Q_MOC_INCLUDE(<QtQuick/qquickitem.h>) + public: explicit QQuickColorDialog(QObject *parent = 0); ~QQuickColorDialog(); |