Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt Virtual Keyboard
Forum Updated to NodeBB v4.3 + New Features

Qt Virtual Keyboard

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
9 Posts 4 Posters 4.0k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Davide
    wrote on 22 Jul 2018, 23:20 last edited by
    #1

    Hello to eveybody,
    My goal is to write a mobile Qt Application for Raspberry Pi 3. using a 7" touchscreen.
    Because I have heard about a Qt Virtual Keyboard, I am asking if how to install it and if there is the possibility to use as the default virtual keyboard.
    Advanced thanks for helping me.

    R 1 Reply Last reply 23 Jul 2018, 06:46
    0
    • D Davide
      22 Jul 2018, 23:20

      Hello to eveybody,
      My goal is to write a mobile Qt Application for Raspberry Pi 3. using a 7" touchscreen.
      Because I have heard about a Qt Virtual Keyboard, I am asking if how to install it and if there is the possibility to use as the default virtual keyboard.
      Advanced thanks for helping me.

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 23 Jul 2018, 06:46 last edited by
      #2

      @Davide
      did you read this already?
      http://doc.qt.io/qt-5/qtvirtualkeyboard-deployment-guide.html

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1
      • D Offline
        D Offline
        Davide
        wrote on 23 Jul 2018, 23:14 last edited by
        #3

        Yeha, I have already read the link you mentioned; but there are a lot of thing I have not well understood:
        -) Where exactly are the sources to build ?
        -) Once built the source, does it enough to run the executable I get from the building process to install the keyboard ?
        -) How could I recall this keyboard from
        -a) a my personal touch screen Qt application I develop ?
        -b) from anohter third party Raspbian Pi application, for example Open Office Write ?
        Again, thanks for replying me
        Davide

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mrdebug
          wrote on 24 Jul 2018, 06:10 last edited by mrdebug
          #4

          Hi. It is not mandatory to download and compile separately the QtVirtualkeyboard.
          During the installation of Qt framework you can select "QtVirtualKeyboard" to have it installed and working.
          The only difference from the QtVirtualKeyboard included in the Qt framwrork and the QtVirtualKeyboard from source is that the QtVirtualKeyboard in the Qt framerowk has only the english layout. If you want you can compile QtVirtualKeyboard with all the language layouts included.

          After that please remember that QtVirtualKeyboard is a plugin for your softare, and if you have embed it, everytime that you click in a text field it will be appear. QtVirtualKeyboard is not made to replace the standard os keyboard. To have it workink as standard os keyboard you have to write code.

          I use it in a raspberry application.

          Need programmers to hire?
          www.labcsp.com
          www.denisgottardello.it
          GMT+1
          Skype: mrdebug

          J D 2 Replies Last reply 24 Jul 2018, 08:14
          0
          • M mrdebug
            24 Jul 2018, 06:10

            Hi. It is not mandatory to download and compile separately the QtVirtualkeyboard.
            During the installation of Qt framework you can select "QtVirtualKeyboard" to have it installed and working.
            The only difference from the QtVirtualKeyboard included in the Qt framwrork and the QtVirtualKeyboard from source is that the QtVirtualKeyboard in the Qt framerowk has only the english layout. If you want you can compile QtVirtualKeyboard with all the language layouts included.

            After that please remember that QtVirtualKeyboard is a plugin for your softare, and if you have embed it, everytime that you click in a text field it will be appear. QtVirtualKeyboard is not made to replace the standard os keyboard. To have it workink as standard os keyboard you have to write code.

            I use it in a raspberry application.

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 24 Jul 2018, 08:14 last edited by
            #5

            @mrdebug said in Qt Virtual Keyboard:

            During the installation of Qt framework you can select "QtVirtualKeyboard" to have it installed and working.

            He develops for RaspberryPi - there is no installer for it where you can select Virtual Keyboard. So, he needs to compile it.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • M mrdebug
              24 Jul 2018, 06:10

              Hi. It is not mandatory to download and compile separately the QtVirtualkeyboard.
              During the installation of Qt framework you can select "QtVirtualKeyboard" to have it installed and working.
              The only difference from the QtVirtualKeyboard included in the Qt framwrork and the QtVirtualKeyboard from source is that the QtVirtualKeyboard in the Qt framerowk has only the english layout. If you want you can compile QtVirtualKeyboard with all the language layouts included.

              After that please remember that QtVirtualKeyboard is a plugin for your softare, and if you have embed it, everytime that you click in a text field it will be appear. QtVirtualKeyboard is not made to replace the standard os keyboard. To have it workink as standard os keyboard you have to write code.

              I use it in a raspberry application.

              D Offline
              D Offline
              Davide
              wrote on 24 Jul 2018, 11:43 last edited by
              #6

              @mrdebug
              Hello... I have dowloaded and installed QT on my Raspbian but any virtual keyboard appers.....
              So I am asking where I can download QtVirtualKeyboard.
              Is it possible to use the QtVirtualKeyboard as my Raspbian default virtual keyboard ?
              Davide

              J 1 Reply Last reply 24 Jul 2018, 12:13
              0
              • D Davide
                24 Jul 2018, 11:43

                @mrdebug
                Hello... I have dowloaded and installed QT on my Raspbian but any virtual keyboard appers.....
                So I am asking where I can download QtVirtualKeyboard.
                Is it possible to use the QtVirtualKeyboard as my Raspbian default virtual keyboard ?
                Davide

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 24 Jul 2018, 12:13 last edited by
                #7

                @Davide https://github.com/qt/qtvirtualkeyboard
                http://doc.qt.io/qt-5/qtvirtualkeyboard-build.html

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mrdebug
                  wrote on 24 Jul 2018, 12:36 last edited by mrdebug
                  #8

                  Sorry for the mistake.
                  To have QtVirtualKeyboard working on Raspberry Pi, you have to download it from the repository indicated by jsulm.
                  After that in your Qt software you have to add these lines of code.

                      #ifdef Q_OS_LINUX
                          #if defined(Q_OS_ANDROID)
                          #else
                              qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));
                              qputenv("QT_VIRTUALKEYBOARD_STYLE", QByteArray("retro"));
                          #endif
                      #endif
                      #ifdef Q_OS_WIN
                          qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));
                          // cliccando sul globo non compare la lista delle lingue. Bisogna andare in modo cirlocare a cercare quella giusta.
                          //qputenv("QT_VIRTUALKEYBOARD_STYLE", QByteArray("retro"));
                      #endif
                  

                  To have the QtVirtualKeyboard working with the other applications I think you have to write a driver for your desktop environment (I Think.).

                  Need programmers to hire?
                  www.labcsp.com
                  www.denisgottardello.it
                  GMT+1
                  Skype: mrdebug

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    Davide
                    wrote on 25 Jul 2018, 08:41 last edited by
                    #9

                    @jsulm
                    @mrdebug
                    Many thanks for your help and suggestions...
                    Now I am little busy with others thinghs, but surely next days I'll try.
                    Again thank you very much.

                    1 Reply Last reply
                    0

                    1/9

                    22 Jul 2018, 23:20

                    • Login

                    • Login or register to search.
                    1 out of 9
                    • First post
                      1/9
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved