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

VirtualKeyboard doestn't work on static build



  • hi,
    im creating qml app and it use virtualkeyboard. but my app always close with qebug message

    qrc:/QtQuick/VirtualKeyboard/content/InputPanel.qml:-1 No such file or directory
    

    in static build, how i include that files that needed on qrc? when building on shared library, all works well.

    using:
    Qt 5.12.10 MSVC2017 Static MT - build manually

    Thanks for any feedback if it can help me tackle this problem...

    edit: found the solution, sorry for not carefully read the documentation
    solution add this in .pro for static build

    static {
        QTPLUGIN += qtvirtualkeyboardplugin
        QT += svg
    }
    

Log in to reply