How to make custom style for VirtualKeyboard
I want to make custom style for Virtual keyboard to hide the Handwriting panel button, British English from space panel,resize the key panels, height and width of keyboard.
So i have followed these links given below,
So i have followed all the steps which are there in qt documentation(Technical guide).
qputenv("QML2_IMPORT_PATH", ":/QtQuick/VirtualKeyboard/Styles"); //this QtQuick floder is located in my project.qrc
qputenv("QT_VIRTUALKEYBOARD_STYLE","test");//test folder contains style.qml
WARNING: cannot find style "test" - fallback: "default"
Any help would be appreciated.
hello @raven-worx , sorry for asking again, solution is working with debug mode perfectly. when the moment i run my project in release mode i will get the below run time errors and keyboard layout is coming with blank.
file::/layouts/en_GB/digits.qml:1:1: Expected token `numeric literal'
file::/layouts/en_GB/digits.qml:1:1: Expected a qualified name id
Can you please help me to solve this.
@sharath Did you check that QML file?
@jsulm Yes i have checked everything is perfect. the layout is not loading at all if i run with release mode but it works with Debug mode. Its strange bug.
@jsulm sorry, i missed to add qrc to the layout path at release mode
after adding "qrc:/layouts" , it has worked.
Thanks for reply @jsulm