Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Example of Virtual Keyboard showing in different languages
Forum Updated to NodeBB v4.3 + New Features

Example of Virtual Keyboard showing in different languages

Scheduled Pinned Locked Moved Unsolved General and Desktop
55 Posts 7 Posters 27.7k Views 5 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.
  • P Pradeep Kumar
    23 May 2017, 10:29

    I have tried running the virtual keyboard example , the support of languages button is not enabled,
    Is the virtual keyboard support enabled for Different languages,?.

    Below is the link of the screenshot ,

    http://imgur.com/a/Gx3Ln

    Thanks,

    D Offline
    D Offline
    Devopia53
    wrote on 23 May 2017, 11:38 last edited by
    #3

    @Pradeep-Kumar

    here

    1 Reply Last reply
    2
    • P Offline
      P Offline
      Pradeep Kumar
      wrote on 23 May 2017, 11:43 last edited by
      #4

      I will give a try,

      Thanks,

      Pradeep Kumar
      Qt,QML Developer

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Pradeep Kumar
        wrote on 23 May 2017, 12:39 last edited by Pradeep Kumar
        #5

        i just added CONFIG+=lang-fi_FI to .pro file,
        Still no update, how can i achieve this
        I am using Qt 5.7, also have Qt 5.8, and Windows 10.

        Is their any other way how i can achieve?.

        Thanks,

        Pradeep Kumar
        Qt,QML Developer

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 23 May 2017, 20:19 last edited by
          #6

          Hi,

          To what .pro file did you add that CONFIG entry ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • P Offline
            P Offline
            Pradeep Kumar
            wrote on 24 May 2017, 05:41 last edited by
            #7

            I added to the virtualkeyboard.pro,
            Qt\Qt5.8\Examples\Qt-5.8\virtualkeyboard,

            Is this the right place, to add ?.

            Thanks,

            Pradeep Kumar
            Qt,QML Developer

            D 1 Reply Last reply 24 May 2017, 06:14
            0
            • P Pradeep Kumar
              24 May 2017, 05:41

              I added to the virtualkeyboard.pro,
              Qt\Qt5.8\Examples\Qt-5.8\virtualkeyboard,

              Is this the right place, to add ?.

              Thanks,

              D Offline
              D Offline
              Devopia53
              wrote on 24 May 2017, 06:14 last edited by
              #8

              @Pradeep-Kumar

              No. You have a wrong way. Read the document again. That .pro is in the plugin source(src/virtualkeyboard/virtualkeyboard.pro).

              1 Reply Last reply
              0
              • P Offline
                P Offline
                Pradeep Kumar
                wrote on 24 May 2017, 07:32 last edited by
                #9

                Sorry now i got it ,

                path : Qt\Qt5.8\5.8\Src\qtvirtualkeyboard\examples\virtualkeyboard\basic is app to run.

                path : Qt\Qt5.8\5.8\Src\qtvirtualkeyboard\src\virtualkeyboard is the plugin to which we need to change and check,

                am i right?.

                Thanks,

                Pradeep Kumar
                Qt,QML Developer

                D 1 Reply Last reply 24 May 2017, 07:37
                0
                • P Pradeep Kumar
                  24 May 2017, 07:32

                  Sorry now i got it ,

                  path : Qt\Qt5.8\5.8\Src\qtvirtualkeyboard\examples\virtualkeyboard\basic is app to run.

                  path : Qt\Qt5.8\5.8\Src\qtvirtualkeyboard\src\virtualkeyboard is the plugin to which we need to change and check,

                  am i right?.

                  Thanks,

                  D Offline
                  D Offline
                  Devopia53
                  wrote on 24 May 2017, 07:37 last edited by
                  #10

                  @Pradeep-Kumar

                  Yes, you are right.
                  First, make(qmake & make) plugin and then install.

                  1 Reply Last reply
                  1
                  • P Offline
                    P Offline
                    Pradeep Kumar
                    wrote on 24 May 2017, 07:39 last edited by
                    #11

                    Install means?. its a plugin, need ti install plugin to the other basic.pro

                    path : Qt\Qt5.8\5.8\Src\qtvirtualkeyboard\examples\virtualkeyboard\basic is app to run.
                    ?????????????????

                    Thanks,

                    Pradeep Kumar
                    Qt,QML Developer

                    D 1 Reply Last reply 24 May 2017, 08:19
                    0
                    • P Pradeep Kumar
                      24 May 2017, 07:39

                      Install means?. its a plugin, need ti install plugin to the other basic.pro

                      path : Qt\Qt5.8\5.8\Src\qtvirtualkeyboard\examples\virtualkeyboard\basic is app to run.
                      ?????????????????

                      Thanks,

                      D Offline
                      D Offline
                      Devopia53
                      wrote on 24 May 2017, 08:19 last edited by Devopia53
                      #12

                      @Pradeep-Kumar

                      I assume you are using Windows & minGW.
                      Try the following procedure.

                      1. Open the Command window (aka Qt 5.8 for Desktop...)
                      2. Move to the plugin dir. (cd Qt\Qt5.8\5.8\Src\qtvirtualkeyboard\src/virtualkeyboard)
                      3. Add the "CONFIG += lang-fi_FI" in virtualkeyboard.pro and save.
                      4. Run qmake
                      5. Run mingw32-make
                      6. Run mingw32-make install
                      7. Rebuild your exampls and run.
                      P 2 Replies Last reply 1 Jun 2017, 07:44
                      2
                      • P Offline
                        P Offline
                        Pradeep Kumar
                        wrote on 24 May 2017, 09:07 last edited by
                        #13

                        i followed the steps in command prompt as u mentioned , i git the button enabled and the respective keyboard in Finnish i guess, please find the link below of the screenshot,

                        https://postimg.org/image/xfcbfbmmp/

                        Thanks man,

                        So now i will try for all the languages,

                        Thanks,

                        Pradeep Kumar
                        Qt,QML Developer

                        1 Reply Last reply
                        2
                        • P Offline
                          P Offline
                          Pradeep Kumar
                          wrote on 24 May 2017, 11:01 last edited by
                          #14

                          Hi ,

                          I tried arabic by changing in .pro, CONFIG+=lang-ar_AR,
                          and chinese using CONFIG+=lang-zh_TW,

                          below is the link of the screenshot of chinese keyboard,

                          https://postimg.org/image/5br02a6tl/,

                          but for lang-zh_CN, i didnt get the keyboard in chinese, any specific reason?.

                          Thanks,

                          Pradeep Kumar
                          Qt,QML Developer

                          1 Reply Last reply
                          1
                          • S Offline
                            S Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 24 May 2017, 20:27 last edited by
                            #15

                            Just a wild guess but do you have any fonts that supports these characters ?

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            0
                            • P Offline
                              P Offline
                              Pradeep Kumar
                              wrote on 25 May 2017, 05:45 last edited by Pradeep Kumar
                              #16

                              Nope, do we need to install in some respective path?.

                              Thanks,

                              Pradeep Kumar
                              Qt,QML Developer

                              1 Reply Last reply
                              0
                              • S Offline
                                S Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on 25 May 2017, 20:59 last edited by
                                #17

                                In your target font folder AFAIK.

                                Interested in AI ? www.idiap.ch
                                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                1 Reply Last reply
                                0
                                • D Offline
                                  D Offline
                                  Devopia53
                                  wrote on 26 May 2017, 04:57 last edited by Devopia53
                                  #18

                                  I don't think it's installed font problem.
                                  Also i don't know PinyinInputMethod( lang-zh_CN), TCInputMethod(lang-zh_TW) and chinese languages.
                                  But, there are difference between the two features provided by QtVirtualKeyboard.
                                  Please compare the two source codes below.
                                  I think the layout for zh_CN is strange.

                                  Qt\Qt5.8\5.8\Src\qtvirtualkeyboard\src\virtualkeyboard\content\layouts\zh_CN\main.qml

                                  Qt\Qt5.8\5.8\Src\qtvirtualkeyboard\src\virtualkeyboard\content\layouts\zh_TW\main.qml

                                  1 Reply Last reply
                                  0
                                  • A Offline
                                    A Offline
                                    alex66955
                                    wrote on 30 May 2017, 11:08 last edited by
                                    #19

                                    Hi,

                                    I have question regarding the virtual keyboard topic mentioned before and especially for the chinese one. How can I get the upper frame of the keyboard layout for the additional chinese letters.
                                    Is it just a word prediction with hunspell or is it an independent mechanism to show additional letters depending on the current selected one?

                                    I tried the virtual keyboard example with all languages. But with simplified chinese I have only normal alpha numeric letters like at the official QT link. But they can chose a chinese letter if they typed in some alpha numeric ones.

                                    you can see an example here (Pinyin keyboard layout, Zhuyin keyboard layout, Cangjie keyboard layout):

                                    • http://blog.qt.io/blog/2016/03/02/qt-virtual-keyboard-updated-with-handwriting-recognition/
                                    • https://blog.qt.io/blog/2016/03/02/qt-virtual-keyboard-updated-with-handwriting-recognition/pinyin/
                                    1 Reply Last reply
                                    0
                                    • D Devopia53
                                      24 May 2017, 08:19

                                      @Pradeep-Kumar

                                      I assume you are using Windows & minGW.
                                      Try the following procedure.

                                      1. Open the Command window (aka Qt 5.8 for Desktop...)
                                      2. Move to the plugin dir. (cd Qt\Qt5.8\5.8\Src\qtvirtualkeyboard\src/virtualkeyboard)
                                      3. Add the "CONFIG += lang-fi_FI" in virtualkeyboard.pro and save.
                                      4. Run qmake
                                      5. Run mingw32-make
                                      6. Run mingw32-make install
                                      7. Rebuild your exampls and run.
                                      P Offline
                                      P Offline
                                      Pradeep Kumar
                                      wrote on 1 Jun 2017, 07:44 last edited by
                                      #20

                                      @Devopia53

                                      again after few days when i try to do the same thing, follow the same steps through command prompt,

                                      1 Open the Command window (aka Qt 5.8 for Desktop...)
                                      2 Move to the plugin dir. (cd Qt\Qt5.8\5.8\Src\qtvirtualkeyboard\src/virtualkeyboard)
                                      3 Add the "CONFIG += lang-fi_FI" in virtualkeyboard.pro and save.
                                      4 Run qmake
                                      5 Run mingw32-make
                                      6 Run mingw32-make install
                                      7 Rebuild your exampls and run

                                      The button is not enabled for respective language. and i am using

                                      path : Qt\Qt5.8\5.8\Src\qtvirtualkeyboard\examples\virtualkeyboard\basic is app to run.

                                      path : Qt\Qt5.8\5.8\Src\qtvirtualkeyboard\src\virtualkeyboard is the plugin to which we need to change and check,

                                      any clue what i am doing wrong, few days back i tried it worked, now i dnt know what happened?.

                                      Thanks,

                                      Pradeep Kumar
                                      Qt,QML Developer

                                      1 Reply Last reply
                                      0
                                      • P Offline
                                        P Offline
                                        Pradeep Kumar
                                        wrote on 2 Jun 2017, 13:04 last edited by
                                        #21

                                        Hi,

                                        Now it is working and i followed the same steps,
                                        I dnt know how it worked today and thank u.

                                        Thanks,

                                        Pradeep Kumar
                                        Qt,QML Developer

                                        1 Reply Last reply
                                        0
                                        • D Devopia53
                                          24 May 2017, 08:19

                                          @Pradeep-Kumar

                                          I assume you are using Windows & minGW.
                                          Try the following procedure.

                                          1. Open the Command window (aka Qt 5.8 for Desktop...)
                                          2. Move to the plugin dir. (cd Qt\Qt5.8\5.8\Src\qtvirtualkeyboard\src/virtualkeyboard)
                                          3. Add the "CONFIG += lang-fi_FI" in virtualkeyboard.pro and save.
                                          4. Run qmake
                                          5. Run mingw32-make
                                          6. Run mingw32-make install
                                          7. Rebuild your exampls and run.
                                          P Offline
                                          P Offline
                                          Pradeep Kumar
                                          wrote on 5 Jun 2017, 13:01 last edited by Pradeep Kumar 6 May 2017, 13:38
                                          #22

                                          Hi,

                                          I assume you are using Windows & minGW.
                                          Try the following procedure.

                                          1) Open the Command window (aka Qt 5.8 for Desktop...)
                                          2) Move to the plugin dir. (cd Qt\Qt5.8\5.8\Src\qtvirtualkeyboard\src/virtualkeyboard)
                                          3) Add the "CONFIG += lang-fi_FI" in virtualkeyboard.pro and save.
                                          4) Run qmake
                                          5) Run mingw32-make
                                          6)  Run mingw32-make install
                                          7) Rebuild your exampls and run.
                                          

                                          This works fine for windows,

                                          Anyone, who knows the similar commands to run in ubuntu,

                                          What are the steps to compile the qt virtual keyboard and run the Qt virtual keyboard in ubuntu.

                                          Thanks,

                                          Pradeep Kumar
                                          Qt,QML Developer

                                          1 Reply Last reply
                                          0

                                          12/55

                                          24 May 2017, 08:19

                                          topic:navigator.unread, 43
                                          • Login

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