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

setting filepath for environment variable keyboard style



  • Hello,

    I'm quite new to Qt and QML in general and i'm working on an app that uses the virtual keyboard.

    Via the documentation I've been able to use a custom style for the virtual keyboard plugin using the default path from QT_VIRTUALKEYBOARD_STYLE

    int main(int argc, char *argv[])
    {
    qputenv("QT_VIRTUALKEYBOARD_STYLE", QByteArray("customKeyboard"));
    qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));

    }

    now I want to add the custom style to my version control and adding it into my project itself. Anyone who knows how to set the style path to my own project resources?

    project.pro

    • resources.qrc

    Thank you in advance


Log in to reply