diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2016-07-26 14:15:31 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2016-08-24 08:09:24 +0000 |
commit | a80f50ab9bba8f6f9d19d1edb2eeafce9dcee799 (patch) | |
tree | a0af6c8bdc1837e01fc3cd0cedd60077d03d2006 /examples/quickcontrols2/texteditor/texteditor.pro | |
parent | 0524ddb9489cd9816fadc330f75efc7b40994013 (diff) |
texteditor: add touch UI
Task-number: QTBUG-54952
Change-Id: I14fe95608c4393b928edc80fc93ebaa843ce478f
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'examples/quickcontrols2/texteditor/texteditor.pro')
-rw-r--r-- | examples/quickcontrols2/texteditor/texteditor.pro | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/quickcontrols2/texteditor/texteditor.pro b/examples/quickcontrols2/texteditor/texteditor.pro index ed645ca7..deb24576 100644 --- a/examples/quickcontrols2/texteditor/texteditor.pro +++ b/examples/quickcontrols2/texteditor/texteditor.pro @@ -1,6 +1,9 @@ TEMPLATE = app TARGET = texteditor -QT += quick quickcontrols2 widgets +QT += quick quickcontrols2 +qtHaveModule(widgets): QT += widgets + +cross_compile: DEFINES += QT_EXTRA_FILE_SELECTOR=\\\"touch\\\" HEADERS += \ documenthandler.h |