diff options
Diffstat (limited to 'src/quicktemplates/qquickcombobox_p.h')
-rw-r--r-- | src/quicktemplates/qquickcombobox_p.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/quicktemplates/qquickcombobox_p.h b/src/quicktemplates/qquickcombobox_p.h index 303eef21b0..2ef5dc776c 100644 --- a/src/quicktemplates/qquickcombobox_p.h +++ b/src/quicktemplates/qquickcombobox_p.h @@ -16,8 +16,11 @@ // #include <QtCore/qloggingcategory.h> +#include <QtQmlModels/private/qtqmlmodels-config_p.h> #include <QtQuickTemplates2/private/qquickcontrol_p.h> +QT_REQUIRE_CONFIG(qml_delegate_model); + QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY(lcItemManagement) @@ -27,7 +30,7 @@ class QQuickPopup; class QQmlInstanceModel; class QQuickComboBoxPrivate; -class Q_QUICKTEMPLATES2_PRIVATE_EXPORT QQuickComboBox : public QQuickControl +class Q_QUICKTEMPLATES2_EXPORT QQuickComboBox : public QQuickControl { Q_OBJECT Q_PROPERTY(int count READ count NOTIFY countChanged FINAL) @@ -240,6 +243,4 @@ private: QT_END_NAMESPACE -QML_DECLARE_TYPE(QQuickComboBox) - #endif // QQUICKCOMBOBOX_P_H |