Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt Virtual Keyboard layout files
QtWS25 Last Chance

Qt Virtual Keyboard layout files

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
keyboard mappinkeyboardvirtualkeyboardqt 5.7qtquick
5 Posts 4 Posters 3.7k Views
  • 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.
  • LeP3nguinL Offline
    LeP3nguinL Offline
    LeP3nguin
    wrote on last edited by
    #1

    Dear community,

    I am currently deploying an application that is designed to run on touch-screen based device, therefore I customized the keyboard style itself, given the hints in the official Qt Documentation for 5.7 which I am using.

    Everything works so far fine, however on all devices, the keyboard only shows the british layout. According to documentation this a fallback option if the virtual keyboard plugin does not find the layout files for the current locale, e.g. in my case de_DE.
    However, I know where those layout files are (browsed the source of the virtual keyboard plugin), but I do not know where to exactly put them.

    The documentation so far only states 'layouts/language_country' (see here: http://doc.qt.io/qt-5/technical-guide.html) but not where to exactly deploy those files. I moved them around the Qt directory in any logical place I could think off, but they never where loaded.

    So where do I have to put these files and can someone update the documentation so others are able to find it?

    Cheers, A.

    D 1 Reply Last reply
    0
    • LeP3nguinL LeP3nguin

      Dear community,

      I am currently deploying an application that is designed to run on touch-screen based device, therefore I customized the keyboard style itself, given the hints in the official Qt Documentation for 5.7 which I am using.

      Everything works so far fine, however on all devices, the keyboard only shows the british layout. According to documentation this a fallback option if the virtual keyboard plugin does not find the layout files for the current locale, e.g. in my case de_DE.
      However, I know where those layout files are (browsed the source of the virtual keyboard plugin), but I do not know where to exactly put them.

      The documentation so far only states 'layouts/language_country' (see here: http://doc.qt.io/qt-5/technical-guide.html) but not where to exactly deploy those files. I moved them around the Qt directory in any logical place I could think off, but they never where loaded.

      So where do I have to put these files and can someone update the documentation so others are able to find it?

      Cheers, A.

      D Offline
      D Offline
      devj
      wrote on last edited by
      #2

      @LeP3nguin said in Qt Virtual Keyboard layout files:

      Dear community,

      I am currently deploying an application that is designed to run on touch-screen based device, therefore I customized the keyboard style itself, given the hints in the official Qt Documentation for 5.7 which I am using.

      Everything works so far fine, however on all devices, the keyboard only shows the british layout. According to documentation this a fallback option if the virtual keyboard plugin does not find the layout files for the current locale, e.g. in my case de_DE.
      However, I know where those layout files are (browsed the source of the virtual keyboard plugin), but I do not know where to exactly put them.

      The documentation so far only states 'layouts/language_country' (see here: http://doc.qt.io/qt-5/technical-guide.html) but not where to exactly deploy those files. I moved them around the Qt directory in any logical place I could think off, but they never where loaded.

      So where do I have to put these files and can someone update the documentation so others are able to find it?

      Cheers, A.

      i have same issues
      did you solved the problem?

      and also "ChangeLanguageKey" is disabled.
      someone knows how to change other language?
      i added CONFIG += lang-all option in *.pro file, but no effect.

      thanks

      S 1 Reply Last reply
      0
      • D devj

        @LeP3nguin said in Qt Virtual Keyboard layout files:

        Dear community,

        I am currently deploying an application that is designed to run on touch-screen based device, therefore I customized the keyboard style itself, given the hints in the official Qt Documentation for 5.7 which I am using.

        Everything works so far fine, however on all devices, the keyboard only shows the british layout. According to documentation this a fallback option if the virtual keyboard plugin does not find the layout files for the current locale, e.g. in my case de_DE.
        However, I know where those layout files are (browsed the source of the virtual keyboard plugin), but I do not know where to exactly put them.

        The documentation so far only states 'layouts/language_country' (see here: http://doc.qt.io/qt-5/technical-guide.html) but not where to exactly deploy those files. I moved them around the Qt directory in any logical place I could think off, but they never where loaded.

        So where do I have to put these files and can someone update the documentation so others are able to find it?

        Cheers, A.

        i have same issues
        did you solved the problem?

        and also "ChangeLanguageKey" is disabled.
        someone knows how to change other language?
        i added CONFIG += lang-all option in *.pro file, but no effect.

        thanks

        S Offline
        S Offline
        summerfang
        wrote on last edited by
        #3

        @devj

        Hello,

        maybe try to add CONFIG += lang-de in the file virtualkeyboard.pro and then rebuild and redeploy. It locates under the sub directory /src/virtualkeyboard.

        1 Reply Last reply
        0
        • michaelLM Offline
          michaelLM Offline
          michaelL
          wrote on last edited by
          #4

          Could someone change the language?

          1 Reply Last reply
          0
          • michaelLM Offline
            michaelLM Offline
            michaelL
            wrote on last edited by
            #5

            here is the solution:
            https://forum.qt.io/topic/76802/how-to-enable-virtual-keyboard-languages/5

            1 Reply Last reply
            0

            • Login

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