diff options
author | Valentin Fokin <fokinv@inf.u-szeged.hu> | 2018-07-19 15:50:00 +0200 |
---|---|---|
committer | Zakor Tamas <ztamas@inf.u-szeged.hu> | 2018-08-28 07:48:17 +0000 |
commit | bcfef3ac8235cafd7accde8b0da0a0e03d3b65cf (patch) | |
tree | 0b7037ad1a77f81b3a7c7ced901a773bcb42a35b /src | |
parent | 07296992462dccf7e4512a829e9e1e5374f42764 (diff) | |
download | qtquickcontrols-bcfef3ac8235cafd7accde8b0da0a0e03d3b65cf.tar.gz |
Fix feature dependencies
Add missing guards for header includes:
07490d56 Fix feature dependencies
This also fixes build with -no-feature-action configuration.
Change-Id: I2deb2dda19104bfa2c28f02617729f57da52c2d6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/widgets/widgetsplugin.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/widgets/widgetsplugin.cpp b/src/widgets/widgetsplugin.cpp index 3289e6fd..6617319b 100644 --- a/src/widgets/widgetsplugin.cpp +++ b/src/widgets/widgetsplugin.cpp @@ -39,10 +39,19 @@ #include <QtQml/qqmlextensionplugin.h> #include <QtQml/qqml.h> +#include <QtWidgets/qtwidgetsglobal.h> +#if QT_CONFIG(messagebox) #include "qquickqmessagebox_p.h" +#endif // QT_CONFIG(messagebox) +#if QT_CONFIG(filedialog) #include "qquickqfiledialog_p.h" +#endif // QT_CONFIG(filedialog) +#if QT_CONFIG(colordialog) #include "qquickqcolordialog_p.h" +#endif // QT_CONFIG(colordialog) +#if QT_CONFIG(fontdialog) #include "qquickqfontdialog_p.h" +#endif // QT_CONFIG(fontdialog) QT_BEGIN_NAMESPACE |