summaryrefslogtreecommitdiff
path: root/src/controls/doc/src
diff options
context:
space:
mode:
authorMarco Martin <mart@kde.org>2015-07-17 10:59:15 +0200
committerMarco Martin <mart@kde.org>2015-07-29 14:15:09 +0000
commit560fa0b9ec9ac0af53baf717ff83a51f1cd0762b (patch)
treefa504c534ef1eb4167c20eae8ddac291b3e49b91 /src/controls/doc/src
parente5759d6ab10b4da9bed939ab4b4dfe61c64272ce (diff)
downloadqtquickcontrols-560fa0b9ec9ac0af53baf717ff83a51f1cd0762b.tar.gz
Allow any platform to have isMobile true
don't hardcode the isMobile property of the controls settings. Allow other platforms such as plain Linux or Windows to behave as full mobile controls using the QT_QUICK_CONTROLS_MOBILE environmant variable [ChangeLog][QtQuick.Controls] introducing QT_QUICK_CONTROLS_MOBILE makes possible for normal Linux systems to have QtQuickControls behaving as a mobile platform Change-Id: I4c96104334864855e9cf0a8f71125102f178b423 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Diffstat (limited to 'src/controls/doc/src')
-rw-r--r--src/controls/doc/src/qtquickcontrols-overview.qdoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/controls/doc/src/qtquickcontrols-overview.qdoc b/src/controls/doc/src/qtquickcontrols-overview.qdoc
index 45a4557a..f549d0c8 100644
--- a/src/controls/doc/src/qtquickcontrols-overview.qdoc
+++ b/src/controls/doc/src/qtquickcontrols-overview.qdoc
@@ -126,6 +126,10 @@
forgotten. This is a known limitation and a workaround is to add potentially missing imports in
one of the qml files of the application using the controls.
+ \section2 Testing Desktop and Mobile behavior of the controls
+ You can test how the controls on your application or style will behave on
+ a mobile platform by setting the environment variable \e QT_QUICK_CONTROLS_MOBILE, to force a behavior optimized for mobile devices.
+
\section1 Related information
\list