Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Adding custom layout to qt virtual keyboard



  • Hi all,
    I am creating a Qt Qml application which has a simple Text field and Input panel.
    I am trying to override the default virtual keyboard layout, by using QT_VIRTUALKEYBOARD_LAYOUT_PATH environment variable as follows:
    qputenv("QT_VIRTUALKEYBOARD_LAYOUT_PATH",":/layouts");
    layouts folder contains en_GB subfolder having qml files of keyboard layout.
    When I run the application I am not seeing the keyboard!!
    Any solution??
    (I have attached the image showing where you can see layout folder location)Screenshot from 2020-10-13 15-35-01.png


Log in to reply