久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<small id='SAwwB'></small><noframes id='SAwwB'>

    1. <legend id='SAwwB'><style id='SAwwB'><dir id='SAwwB'><q id='SAwwB'></q></dir></style></legend>
        <i id='SAwwB'><tr id='SAwwB'><dt id='SAwwB'><q id='SAwwB'><span id='SAwwB'><b id='SAwwB'><form id='SAwwB'><ins id='SAwwB'></ins><ul id='SAwwB'></ul><sub id='SAwwB'></sub></form><legend id='SAwwB'></legend><bdo id='SAwwB'><pre id='SAwwB'><center id='SAwwB'></center></pre></bdo></b><th id='SAwwB'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='SAwwB'><tfoot id='SAwwB'></tfoot><dl id='SAwwB'><fieldset id='SAwwB'></fieldset></dl></div>
        • <bdo id='SAwwB'></bdo><ul id='SAwwB'></ul>
        <tfoot id='SAwwB'></tfoot>

        PyQt5/pyqt4 是否已經支持帶有手寫識別的 QtVirtual

        Does PyQt5/pyqt4 already supports QtVirtualKeyboard with Handwriting Recognition?(PyQt5/pyqt4 是否已經支持帶有手寫識別的 QtVirtualKeyboard?)

          <small id='wwrGH'></small><noframes id='wwrGH'>

            <tbody id='wwrGH'></tbody>
          <legend id='wwrGH'><style id='wwrGH'><dir id='wwrGH'><q id='wwrGH'></q></dir></style></legend>
          <i id='wwrGH'><tr id='wwrGH'><dt id='wwrGH'><q id='wwrGH'><span id='wwrGH'><b id='wwrGH'><form id='wwrGH'><ins id='wwrGH'></ins><ul id='wwrGH'></ul><sub id='wwrGH'></sub></form><legend id='wwrGH'></legend><bdo id='wwrGH'><pre id='wwrGH'><center id='wwrGH'></center></pre></bdo></b><th id='wwrGH'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='wwrGH'><tfoot id='wwrGH'></tfoot><dl id='wwrGH'><fieldset id='wwrGH'></fieldset></dl></div>

              • <bdo id='wwrGH'></bdo><ul id='wwrGH'></ul>
                  <tfoot id='wwrGH'></tfoot>
                  本文介紹了PyQt5/pyqt4 是否已經支持帶有手寫識別的 QtVirtualKeyboard?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在使用 pyqt5 開發桌面應用程序,我想使用帶有手寫識別功能的虛擬鍵盤.我看到Qt,QtVirtualKeyboard已經支持了.

                  這里是

                  我得到了在 QtCreator 上運行的 C++ Qt 示例代碼.但是使用 python3.5 和 PyQt5 會給出這樣的信息:

                  模塊QtQuick.VirtualKeyboard"未安裝導入 QtQuick.VirtualKeyboard 2.1

                  我應該如何從這里繼續?PyQt5 是否帶有 VirtualKeyboard 模塊?如果沒有,如何在 PyQt5 上安裝?

                  解決方案

                  對于 qt desinger,您只能在 .py 文件中添加這一行.

                  os.environ["QT_IM_MODULE"] = "qtvirtualkeyboard"

                  但是如果你想使用 QML 和 qtvirtualkeyboard;

                  pyqt5.8沒有虛擬鍵盤插件,必須使用qt的路徑.

                  例如,在 ubuntu 上安裝 pyqt5、qt5.8 和 qtvirtualkeyboard 的基本步驟:

                  1.step 用qtvirtualkeyboard安裝qt5.8

                  <塊引用>

                  wgethttp://下載.qt.io/official_releases/qt/5.8/5.8.0/qt-opensource-linux-x64-5.8.0.run

                  chmod +x qt-opensource-linux-x64-5.8.0.run

                  ./qt-opensource-linux-x64-5.8.0.run

                  2.step

                  <塊引用>

                  apt-get 安裝 python3 python3-pippip3 安裝 pyqt5

                  3.step

                  在你的python代碼上設置你的qt路徑的環境變量.

                  導入系統,操作系統os.environ["QT_DIR"] = "/opt/Qt5.8.0/5.8/gcc_64"os.environ["QT_QPA_PLATFORM_PLUGIN_PATH"] = "/opt/Qt5.8.0/5.8/gcc_64/plugins/platforms"os.environ["QT_PLUGIN_PATH"] = "/opt/Qt5.8.0/5.8/gcc_64/plugins"os.environ["QML_IMPORT_PATH"] = "/opt/Qt5.8.0/5.8/gcc_64/qml"os.environ["QML2_IMPORT_PATH"] = "/opt/Qt5.8.0/5.8/gcc_64/qml"os.environ["QT_IM_MODULE"] = "qtvirtualkeyboard"#print(os.environ)從 PyQt5.QtCore 導入 *從 PyQt5 導入 QtCore從 PyQt5.QtWidgets 導入 *從 PyQt5.QtQuick 導入 *類鍵盤應用程序(對象):def __init__(self):self.view = QQuickView()self.view.setObjectName("視圖")#self.view.setFlags(Qt.FramelessWindowHint)self.view.setSource(QUrl("main.qml"))self.view.setResizeMode(QQuickView.SizeRootObjectToView)#self.Screen = self.view.rootObject()#print("屏幕(根) = " + str(self.Screen))self.view.show()應用程序 = QApplication(sys.argv)測試 = 鍵盤應用程序()sys.exit(app.exec_())

                  I'm working on a desktop application using pyqt5, and I want to use a Virtual Keyboard with Handwriting Recognition. I saw that Qt, QtVirtualKeyboard already support it.

                  Here's a link!

                  I got the C++ Qt example code running on QtCreator. But using python3.5 and PyQt5 it gives this message:

                  module "QtQuick.VirtualKeyboard" is not installed 
                   import QtQuick.VirtualKeyboard 2.1 
                  

                  How should I go on from here? Does PyQt5 comes with VirtualKeyboard module? if no How to install it on PyQt5?

                  解決方案

                  for qt desinger you can add only this line on your .py file.

                  os.environ["QT_IM_MODULE"] = "qtvirtualkeyboard"
                  

                  but If you want use QML with qtvirtualkeyboard;

                  There is no virtualkeyboard plugin in pyqt5.8, you must be use qt's paths.

                  For a example, basic steps for pyqt5, qt5.8 and qtvirtualkeyboard installiation on ubuntu:

                  1.step install qt5.8 with qtvirtualkeyboard

                  wget http://download.qt.io/official_releases/qt/5.8/5.8.0/qt-opensource-linux-x64-5.8.0.run

                  chmod +x qt-opensource-linux-x64-5.8.0.run

                  ./qt-opensource-linux-x64-5.8.0.run

                  2.step

                  apt-get install python3 python3-pip pip3 install pyqt5

                  3.step

                  set environmental variables your qt paths on your python code.

                  import sys, os
                  os.environ["QT_DIR"] = "/opt/Qt5.8.0/5.8/gcc_64"
                  os.environ["QT_QPA_PLATFORM_PLUGIN_PATH"] = "/opt/Qt5.8.0/5.8/gcc_64/plugins/platforms"
                  os.environ["QT_PLUGIN_PATH"] = "/opt/Qt5.8.0/5.8/gcc_64/plugins"
                  os.environ["QML_IMPORT_PATH"] = "/opt/Qt5.8.0/5.8/gcc_64/qml"
                  os.environ["QML2_IMPORT_PATH"] = "/opt/Qt5.8.0/5.8/gcc_64/qml"
                  os.environ["QT_IM_MODULE"] = "qtvirtualkeyboard"
                  
                  #print(os.environ) 
                  
                  from PyQt5.QtCore import *
                  from PyQt5 import QtCore
                  from PyQt5.QtWidgets import *
                  from PyQt5.QtQuick import *
                  
                  
                  class keyboardapp(object):
                      def __init__(self):
                          self.view = QQuickView()
                          self.view.setObjectName("View")
                          #self.view.setFlags(Qt.FramelessWindowHint)
                          self.view.setSource(QUrl("main.qml"))
                          self.view.setResizeMode(QQuickView.SizeRootObjectToView)
                          #self.Screen = self.view.rootObject()
                          #print("Screen(Root) = " + str(self.Screen))
                          self.view.show()
                  
                  app = QApplication(sys.argv)
                  test = keyboardapp()
                  sys.exit(app.exec_())
                  

                  這篇關于PyQt5/pyqt4 是否已經支持帶有手寫識別的 QtVirtualKeyboard?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to bind a function to an Action from Qt menubar?(如何將函數綁定到 Qt 菜單欄中的操作?)
                  PyQt progress jumps to 100% after it starts(PyQt 啟動后進度躍升至 100%)
                  How to set yaxis tick label in a fixed position so that when i scroll left or right the yaxis tick label should be visible?(如何將 yaxis 刻度標簽設置在固定位置,以便當我向左或向右滾動時,yaxis 刻度標簽應該可見
                  `QImage` constructor has unknown keyword `data`(`QImage` 構造函數有未知關鍵字 `data`)
                  Change x-axis ticks to custom strings(將 x 軸刻度更改為自定義字符串)
                  How to show progress bar while saving file to excel in python?(如何在python中將文件保存為excel時顯示進度條?)
                    <tbody id='Xrn7Y'></tbody>

                    <legend id='Xrn7Y'><style id='Xrn7Y'><dir id='Xrn7Y'><q id='Xrn7Y'></q></dir></style></legend>
                    • <bdo id='Xrn7Y'></bdo><ul id='Xrn7Y'></ul>
                        <i id='Xrn7Y'><tr id='Xrn7Y'><dt id='Xrn7Y'><q id='Xrn7Y'><span id='Xrn7Y'><b id='Xrn7Y'><form id='Xrn7Y'><ins id='Xrn7Y'></ins><ul id='Xrn7Y'></ul><sub id='Xrn7Y'></sub></form><legend id='Xrn7Y'></legend><bdo id='Xrn7Y'><pre id='Xrn7Y'><center id='Xrn7Y'></center></pre></bdo></b><th id='Xrn7Y'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Xrn7Y'><tfoot id='Xrn7Y'></tfoot><dl id='Xrn7Y'><fieldset id='Xrn7Y'></fieldset></dl></div>

                            <tfoot id='Xrn7Y'></tfoot>

                            <small id='Xrn7Y'></small><noframes id='Xrn7Y'>

                            主站蜘蛛池模板: 国产精品亚洲欧美日韩一区在线 | 久久久久国产一区二区 | 国产精品一区在线观看 | 国产一区91精品张津瑜 | 国产高清视频在线观看 | 中文字幕一区二区三区四区五区 | 亚洲精品中文字幕 | 99在线免费视频 | 国产日韩欧美一区二区 | 福利在线看 | 欧美日韩免费视频 | 国产精品一区二区免费 | 久久精品高清视频 | 成人av资源在线 | 国产小视频在线观看 | 精品国产精品一区二区夜夜嗨 | 99re在线视频观看 | 欧美日韩在线不卡 | 欧美一区二区三区在线 | 亚洲一区二区av在线 | 一区欧美 | 日本一级淫片免费啪啪3 | 九九亚洲精品 | 自拍偷拍亚洲视频 | 91在线视频精品 | 国产乱码精品一区二区三区中文 | 欧洲妇女成人淫片aaa视频 | 久久国产欧美日韩精品 | 精品久久久久久亚洲综合网站 | 蜜臀久久99精品久久久久野外 | 国产在线h| 久久久精品 | av毛片在线播放 | 欧美一级免费观看 | 国产亚洲精品一区二区三区 | 日本在线观看视频 | 日韩欧美国产一区二区 | 一级毛片在线播放 | 99视频在线免费观看 | 久草青青草 | 伊人网综合在线观看 |