title: How to use the QtVirtualKeyboard
body: <p>I try to integrate the <a href="https://doc.qt.io/qt-5/qtvirtualkeyboard-index.html" rel="noreferrer"><code>QtVirtualKeyboard</code></a> into a prototype, but I fail.
  It is the first time I work with multiple projects or where I have to include non-basic-stuff in QML/QMake-Project.</p>
  
  <p>I got the code from the <a href="http://code.qt.io/cgit/qt/qtvirtualkeyboard.git/" rel="noreferrer"><em>git-repository</em></a> and were successfully running the examples. But now I am puzzled on how to integrate it into my own project.</p>
  
  <p>My project structure is as follows</p>
  
  <pre><code>Proto (dir)
   +- Proto.pro
   +- main.cpp
   +- ...
   +---QML (dir)                     &lt;--- QML-Files
   |    +-main.qml
   |    +---CustomControls (dir)
   |    +---...
   +---CPP (dir)                     &lt;--- C++-Files and Headers
   +---RES                           &lt;--- Icons and stuff
  </code></pre>
  
  <p>Now I thought I might just add the <code>src</code>-project from the virtual keyboard to the root-folder (<code>Proto</code>), and add something like:</p>
  
  <pre><code>SUBDIR += src/src.pro
  </code></pre>
  
  <p>to the <code>Proto.pro</code>-file<br>
  => Yes, I can do that, but there is no merrit in it.</p>
  
  <p>So what do I need to do, to actually use it? It must be really easy, for I can't find any question regarding it anywhere on google, youtube or SO.</p>
  
  <p><strong>EDIT => I still fail.</strong> This is my story:</p>
  
  <p>I tried the <em>deployment</em>-method, followed the instructions <a href="https://doc.qt.io/qt-5/qtvirtualkeyboard-deployment-guide.html" rel="noreferrer"><strong>here</strong></a>.<br>
  As I'd prefer to have the keyboard within the application, I did the following:</p>
  
  <ol>
  <li>I added the <code>make install</code>-stept</li>
  <li>I passed <code>qmake</code> an additional argument <code>"CONFIG+=disable-desktop</code></li>
  </ol>
  
  <p>It seemed to work. Got new files in the mentioned directories:</p>
  
  <ul>
  <li>C:\Qt\Qt5.7.0\5.7\mingw53_32\qml\QtQuick\<em>VirtualKeyboard</em></li>
  <li>C:\Qt\Qt5.7.0\5.7\mingw53_32\qml\QtQuick\<em>Virtualkeyboard</em>\<em>Styles</em></li>
  <li>C:\Qt\Qt5.7.0\5.7\mingw53_32\plugins\platforminputcontexts\</li>
  </ul>
  
  <p>Now in my project, I added the line</p>
  
  <pre><code>QT_IM_MODULE=qtvirtualkeyboard myapp
  </code></pre>
  
  <p>And tried to import it in my <code>main.qml</code></p>
  
  <pre><code>import QtQuick.VirtualKeyboard 2.0 // (also tried it with 2.1)
  </code></pre>
  
  <p>I got the error:</p>
  
  <blockquote>
    <p>[path]/main.qml:10 module "QtQuick.VirtualKeyboard" is not installed</p>
  </blockquote>
  
  <p>And that concludes my story sofar. Any suggestions where I failed?</p>