summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@qt.io>2017-03-15 15:08:51 +0100
committerPaul Olav Tvete <paul.tvete@qt.io>2017-03-20 13:11:57 +0000
commitb84d25b20ed316529ae2fa091c5d9e2fbf45e023 (patch)
tree38144807381cbd12494b77db9554335dcc170d86
parentb7ce67c2774197026885e500e9ef495460eb0d33 (diff)
downloadqtquickcontrols-b84d25b20ed316529ae2fa091c5d9e2fbf45e023.tar.gz
Fix build with -no-feature-library
Change-Id: I310e90ec92b81939df11accb4cb6b1bd25df472e Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
-rw-r--r--src/controls/Private/qquickcontrolsettings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/Private/qquickcontrolsettings.cpp b/src/controls/Private/qquickcontrolsettings.cpp
index 99310c13..e6345082 100644
--- a/src/controls/Private/qquickcontrolsettings.cpp
+++ b/src/controls/Private/qquickcontrolsettings.cpp
@@ -43,7 +43,9 @@
#include <qdebug.h>
#include <qqmlengine.h>
#include <qfileinfo.h>
+#if QT_CONFIG(library)
#include <qlibrary.h>
+#endif
#include <qdir.h>
#include <QTouchDevice>
#include <QGuiApplication>