diff options
author | Paul Olav Tvete <paul.tvete@qt.io> | 2017-03-02 14:28:14 +0100 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2017-03-03 08:03:59 +0000 |
commit | 24df951f3656eee1554307c30c33cbcc5defb0ed (patch) | |
tree | d7ab5a68284484e4d20e19f0a34d2f7626d2fb2d /src/controls/Private/qquickspinboxvalidator_p.h | |
parent | 45db515ffa27fb3e69ed1c6285f919064f6fe27b (diff) | |
download | qtquickcontrols-24df951f3656eee1554307c30c33cbcc5defb0ed.tar.gz |
Build fix for -no-feature-validator
Change-Id: Ib5c89c0934d5dbf2fe31c9ced09998c8a7405801
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/controls/Private/qquickspinboxvalidator_p.h')
-rw-r--r-- | src/controls/Private/qquickspinboxvalidator_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/controls/Private/qquickspinboxvalidator_p.h b/src/controls/Private/qquickspinboxvalidator_p.h index 7ca6901e..baaeb1b3 100644 --- a/src/controls/Private/qquickspinboxvalidator_p.h +++ b/src/controls/Private/qquickspinboxvalidator_p.h @@ -43,6 +43,8 @@ #include <QtGui/qvalidator.h> #include <QtQml/qqml.h> +#if QT_CONFIG(validator) + QT_BEGIN_NAMESPACE class QQuickSpinBoxValidator1 : public QValidator, public QQmlParserStatus @@ -123,4 +125,5 @@ QT_END_NAMESPACE QML_DECLARE_TYPE(QQuickSpinBoxValidator1) +#endif // QT_CONFIG(validator) #endif // QQUICKSPINBOXVALIDATOR_P_H |