Teclado virtual Qt [PyQt 5.8] - O estilo não foi encontrado, não é possível redimensionar o teclado virtual

Eu tenho tentado trabalhar com o Teclado Virtual Qt e ele está indo muito bem, até ...

O problema é:

Variáveis de ambiente sendo definidas. (meio que cheque)QT_VIRTUALKEYBOARD_STYLE (não encontrado). Eu já criei meu próprio estilo, a partir de outra postagem do stackoverflow, parece muito bom, mas não está sendo encontrado.

AVISO: Não é possível encontrar o estilo "... / INTERACT / interact-ii / tools / pt_BR / customkb.qml" - fallback: "padrão"

Algumas tentativas:

Coloquei o arquivo customkeyboard.qml sozinho dentro do meu próprio projeto e defina a variável para o seu caminho.Coloquei a pasta inteira "en_GB" da pasta Qt padrão dentro do meu projeto com a minha modificação.Também defini a variável com o caminho original da pasta Qt com o meu estilo.Baixou o Qt 5.8 / 5.7 / 5.6 e fez o mesmo em todo o teclado qtvirtual.Depois de ver o erro acima (fallback: "default"), tentei adicionar meus itens de qml ao default.qml da pasta qt. [... / Qt / 5.8 / Src / qtvirtualkeyboard / src / teclado virtual / conteúdo / estilos / padrão]Abri o arquivo qtvirtualkeyboard.so com o QTCreator e construí tudo depois de alterar meus arquivos qml também para ver se isso mudaria algo e nada mudou.

Nenhum deles parece modificar o tamanho e a localização do meu teclado.

Aqui estão os arquivos importantes com um pequeno exemplo.

1 - Pequeno exemplo usando o teclado.

import os
import sys

from PyQt5.QtCore import QProcessEnvironment
from PyQt5.QtWidgets import QApplication
from PyQt5.QtWidgets import QLineEdit
from PyQt5.QtWidgets import QMainWindow
from PyQt5.QtWidgets import QVBoxLayout
from PyQt5.QtWidgets import QWidget

os.environ["QT5DIR"] = "/home/epson/Qt/5.8/gcc_64"
os.environ["QT_QPA_PLATFORM_PLUGIN_PATH"] = "/home/epson/Qt/5.8/gcc_64/plugins/platforms"
os.environ["QT_PLUGIN_PATH"] = "/home/epson/Qt/5.8/gcc_64/plugins"
os.environ["QML_IMPORT_PATH"] = "/home/epson/Qt/5.8/gcc_64/qml"
os.environ["QML2_IMPORT_PATH"] = "/home/epson/Qt/5.8/gcc_64/qml"

os.environ["QT_VIRTUALKEYBOARD_LAYOUT_PATH"] = "/home/epson/INTERACT/interact-ii/tools/en_GB/customkb.qml"
os.environ["QT_VIRTUALKEYBOARD_STYLE"] = "/home/epson/Qt/5.8/Src/qtvirtualkeyboard/src/virtualkeyboard/content/styles"
os.environ["QT_IM_MODULE"] = "qtvirtualkeyboard"

for i in QProcessEnvironment.systemEnvironment().keys():
    print(i)

class MainWindow(QMainWindow):

    def __init__(self):
        super(MainWindow, self).__init__()
        self.line_edit = None


        self.init_ui()

    def init_ui(self):
        self.line_edit = QLineEdit()
        self.line_edit2 = QLineEdit()
        self.layout = QVBoxLayout()
        self.main_widget = QWidget()
        self.main_widget.setLayout(self.layout)
        self.layout.addWidget(self.line_edit)
        self.layout.addWidget(self.line_edit2)
        self.setCentralWidget(self.main_widget)


if __name__ == "__main__":
    app = QApplication(sys.argv)
    mw = MainWindow()
    mw.show()
    sys.exit(app.exec_())

2 - Meu customkeyboard.qml

/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3 or (at your option) any later version
** approved by the KDE Free Qt Foundation. The licenses are as published by
** the Free Software Foundation and appearing in the file LICENSE.GPL3
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
**
** $QT_END_LICENSE$
**
****************************************************************************/

import QtQuick 2.0
import QtQuick.Window 2.2
import QtQuick.VirtualKeyboard 2.1
import "content"

Item {
    width: 1280
    height: 720

    Item {
        id: appContainer
        width: Screen.width < Screen.height ? parent.height : parent.width
        height: Screen.width < Screen.height ? parent.width : parent.height
        anchors.centerIn: parent
        rotation: Screen.width < Screen.height ? 90 : 0
        Basic {
            id: virtualKeyboard
            anchors.left: parent.left
            anchors.top: parent.top
            anchors.right: parent.right
            anchors.bottom: inputPanel.top
        }

        /*  Handwriting input panel for full screen handwriting input.

            This component is an optional add-on for the InputPanel component, that
            is, its use does not affect the operation of the InputPanel component,
            but it also can not be used as a standalone component.

            The handwriting input panel is positioned to cover the entire area of
            application. The panel itself is transparent, but once it is active the
            user can draw handwriting on it.
        */
        HandwritingInputPanel {
            z: 79
            id: handwritingInputPanel
            anchors.fill: parent
            inputPanel: inputPanel
            Rectangle {
                z: -1
                anchors.fill: parent
                color: "black"
                opacity: 0.10
            }
        }

        /*  Container area for the handwriting mode button.

            Handwriting mode button can be moved freely within the container area.
            In this example, a single click changes the handwriting mode and a
            double-click changes the availability of the full screen handwriting input.
        */
        Item {
            z: 89
            visible: handwritingInputPanel.enabled && Qt.inputMethod.visible
            anchors { left: parent.left; top: parent.top; right: parent.right; bottom: inputPanel.top; }
            HandwritingModeButton {
                id: handwritingModeButton
                anchors.top: parent.top
                anchors.right: parent.right
                anchors.margins: 10
                floating: true
                flipable: true
                width: 76
                height: width
                state: handwritingInputPanel.state
                onClicked: handwritingInputPanel.active = !handwritingInputPanel.active
                onDoubleClicked: handwritingInputPanel.available = !handwritingInputPanel.available
            }
        }

        /*  Keyboard input panel.

            The keyboard is anchored to the bottom of the application.
        */
        InputPanel {
            id: keyboard;
            y: screenHeight; // position the top of the keyboard to the bottom of the screen/display

            anchors.left: parent.left;
            anchors.right: parent.right;

            states: State {
                name: "visible";
                when: keyboard.active;
                PropertyChanges {
                    target: keyboard;
                    // position the top of the keyboard to the bottom of the text input field
                    y: textInput.height;
                }
            }
            transitions: Transition {
                from: ""; // default initial state
                to: "visible";
                reversible: true; // toggle visibility with reversible: true;
                ParallelAnimation {
                    NumberAnimation {
                        properties: "y";
                        duration: 250;
                        easing.type: Easing.InOutQuad;
                    }
                }
            }
        }
    }
}
PERGUNTA, QUESTÃO:

Estou fazendo coisas erradas sobre como definir variáveis STYLE e LAYOUT? Qual dos dois eu realmente deveria estar configurando, é a variável STYLE ou LAYOUT que mudaria o tamanho e a localização do meu teclado? Onde realmente devo colocar o arquivo qml? O que estou fazendo errado? Não pode ver qual é o problema !!

Obs: Mesmo seguindo estepostar não poderia fazê-lo funcionar. Fiz tudo exatamente o mesmo, mas parece que algo está faltando ou estou entendendo algo errado.

questionAnswers(1)

yourAnswerToTheQuestion