Wizards: Take Qt virtual keyboard setting into account

... in the project files.

Fixes: QTCREATORBUG-22446
Change-Id: I39f8d6be17ac9fb8f41dd91851578e34c249bfe3
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Christian Kandeler
2019-05-21 15:05:19 +02:00
parent 23a71e85bf
commit 068dbd3aef
2 changed files with 9 additions and 0 deletions

View File

@@ -1,4 +1,9 @@
@if "%{UseVirtualKeyboard}" == "true"
QT += quick virtualkeyboard
@else
QT += quick
@endif
CONFIG += c++11
# The following define makes your compiler emit warnings if you use

View File

@@ -1,7 +1,11 @@
import qbs
Application {
@if "%{UseVirtualKeyboard}" == "true"
Depends { name: "Qt"; submodules: "quick", "virtualkeyboard" }
@else
Depends { name: "Qt.quick" }
@endif
// Additional import path used to resolve QML modules in Qt Creator's code model
property pathList qmlImportPaths: []