Unsolved Qt VirtualKeyboard Example
-
I'm testing out the enterprise addition with the trial right now and I'm having an issue right now with the virtualkeyboard example.
It example compiles and executes but the window doesn't display anything.
I checked the code and it seems as though i'm getting a "QML module not found" error when it tries to import the QtQuick.Enterprise.VirtualKeyboard 1.3 module.
Anyone else encounter this issue?
Any help will be appreciated.
Thank you. -
hello
i also want to use virtualkeyboard from Enterprise but it does not work.
do you solve your Problem?best regards
knut
-
I am guessing that the issue is due to Qt looking for the style and input method plugins in the installed Qt path.
This can be remedied by running make install, or by setting QT_PLUGIN_PATH to point to where the input method plugin is, and QML2_IMPORT_PATH to the location for the style plugin. Setting the environment variables will also require copying over qmldir for the style plugin.
-
Add this line in ur main.cpp
qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));
Add below lines to ur QML page:
InputPanel { id: inputPanel z: 1 y: Qt.inputMethod.visible ? parent.height - inputPanel.height : parent.height anchors.left: parent.left anchors.right: parent.right }
and on mouse area for input field pass below line
Qt.inputMethod.show()Regards
Bala B -
@Beemaneni-Bala said:
Add this line in ur main.cpp
qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));
Already handled by the example.
-
@Rtsuzuki I'm trying to use with EGLFS in a i.MX6, but causes an error EGLFS overwrite Window ...
Passed something like this? I using Qt5.6 and cross-compiling with Yocto Project.