[Interest] qt example of virtual keyboard on virtualbox ubuntu&kubuntu

Dmytro Haponov dmytro.haponov at gmail.com
Wed Sep 27 21:51:45 CEST 2017

example of virtual keyboard in qt5.7,5.9 has an issue on both ubuntu &
kubuntu that are guests on virtualbox - keyboard is invisible, that is it's
somewhere at the bottom of editLists that form the app built from example,
and you can press it so that symbols are typed, but you cannot see the
keyboard itself. And the app is hanging quite seriously on kubuntu in case
of full screen.

Latest version of virtualbox on windows is used.
ubuntu 16.04, kubuntu can look at tomorrow (writing from home).

qt virtual keyboard example works fine on ubuntu and windows that are not
on virtual box (don't know about kubuntu).

I managed to find the source of issue on virtualbox, it's in .pro file here:

disable-desktop|android-embedded|!isEmpty(CROSS_COMPILE)|qnx {

    DEFINES += MAIN_QML=\\\"basic-b2qt.qml\\\"

} else {

    DEFINES += MAIN_QML=\\\"Basic.qml\\\"


I have the second define always working. If I force the first one to
be used, then keyboard works fine. Btw, host windows works on both

So the question is - is there any lib lacking on my non-windows guests
(disable-xcb flag does not seem to be set right) or is this a problem
of virtual box?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170927/e2bfb48c/attachment.html>

More information about the Interest mailing list