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

How could I install Qt Virtual Keyboard?



  • I have saw the document, but I couldn't find these items ( qtvirtualkeyboardplugin, qtvirtualkeyboardextensionplugin, qtvirtualkeyboardplugin QML files, qtvirtualkeyboardstylesplugin ) on MacOS.
    Then I download both the qtvirtualkeyboard-5.11.3.zip and qtvirtualkeyboard-5.11.2.zip to run it with the configuration release but failed. (I don't know which one to install because I indeed download the 5.11.3 but software says it is based on Qt 5.11.2 on about Qt.) The output message is 'The process failed to start. Either the invoked program "/Users/bayesky-mac/Downloads/build-qtvirtualkeyboard-Desktop_Qt_5_11_3_clang_64bit-Release/examples/virtualkeyboard/basic/basic.app/Contents/MacOS/basic" is missing, or you may have insufficient permissions to invoke the program'
    How could I install Qt Virtual Keyboard?
    Advanced thanks for helping me.


  • Qt Champions 2019

    @Bayesky said in How could I install Qt Virtual Keyboard?:

    but software says it is based on Qt 5.11.2 on about Qt

    Which software? Do you mean QtCreator? Then please do NOT use "About QtCreator" dialog, all it says is which Qt version was used to build QtCreator. Check the Kit you're using in settings to see which Qt version you're using.

    There is no need to build Virtual Keyboard manually. Use Qt Maintenance Tool to install it. By the way: how did you install Qt?



  • @jsulm
    I download its install package and install it... After checking, I find its version is 5.11.3 indeed. When I use Qt Maintenance Tool, Qt Virtual Keyboard seems to have installed already.
    Why can't I use this module? I am confused.

    0_1556003316904_VK.png


  • Qt Champions 2019

    @Bayesky said in How could I install Qt Virtual Keyboard?:

    Why can't I use this module?

    Can you please explain what exactly you are doing? You're trying to start one of the examples using the virtual keyboard, right? Do you try to start it from QtCreator?
    The error message is actually telling you what the problem is: the executable is not there or is not marked as executable.
    Does /Users/bayesky-mac/Downloads/build-qtvirtualkeyboard-Desktop_Qt_5_11_3_clang_64bit-Release/examples/virtualkeyboard/basic/basic.app/Contents/MacOS/basic exist?



  • Yes, I learning to how to use Virtual Keyboard and I use Input Panel but failed. Error message is "module "QtQuick.VirtualKeyboard" is not installed".
    So I want to install QtQuick.VirtualKeyboard referring to the post How to use the QtVirtualKeyboard.
    It says the first step is to download the source code from the git-repository but I could not find source code. Then I download the source code on Github.
    Next step is to open the project qtvirtualkeyboard.pro with the QtCreator, and run it with the configuration release and above error message occur after I did it.

    It indeed does not exist from /basic.app.


  • Qt Champions 2019

    @Bayesky said in How could I install Qt Virtual Keyboard?:

    It says the first step is to download the source code from the git-repository but I could not find source code

    This is not needed! You already installed it via installer. Forget that post from Stack Overflow!
    You installed it for Qt 5.11.3 - is this version the one you're currently using to build the app?

    I just did following: I installed Qt 5.12.3 together with virtual keyboard using Qt Maintenance Tool on my Linux machine and build and executed the virtual keyboard example - it did work with out any issues.



  • Yes, it is. Qt 5.11.3 for MacOS.
    Maybe it's time to update my Qt. And how to update Qt? Need to uninstall the old and reinstall the new again?
    Best.


  • Qt Champions 2019

    @Bayesky If you used Qt Online Installer then simply use the Qt Maintenance Tool to add/remove/update Qt and QtCreator.



  • @jsulm
    It seems like I have updated Qt 5.12 successfully. But the document seems to retain 5.11.


  • Qt Champions 2019

    @Bayesky I guess you're still using the 5.11 Kit, switch to 5.12 Kit


Log in to reply