Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Regarding the Loading the qtvirtualkeyboardplugin to the sample app created
Qt 6.12 LTS is out! See what's new in the release blog

Regarding the Loading the qtvirtualkeyboardplugin to the sample app created

Scheduled Pinned Locked Moved Unsolved General and Desktop
13 Posts 3 Posters 7.0k Views 3 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #3

    Hi,

    Do you mean deploy the plugin like described in the QtVirtualKeyboard deployment documentation ?

    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
    • Pradeep KumarP Offline
      Pradeep KumarP Offline
      Pradeep Kumar
      wrote on last edited by Pradeep Kumar
      #4

      Yes i followed the docs of how to include in main file, and with the help of forum , how to compile,
      but wat i require is ,

      1 step :
      i have a 1 screen with combobox box and pushbutton, clicking on submit navigates to next screen.

      firstscreen

      then

      2 Step :
      the below image is 2 screen with lineedit and pushbutton, when i click on lineedit, virtualkeyboard appears. with the language english by default.

      Now when i select the french or spanish language , the respective language keyboard should appear without clicking on button in virtualkeyboard.

      And

      My 2 query is can the libqtvirtualkeyboardplugin.so of virtualkeyboard be moved to different folder and load from the respective path?.
      instead of /home/user/Qt5.7.0/5.7/gcc_64/plugins/platforminputcontexts?.

      Thanks,

      Pradeep Kumar
      Qt,QML Developer

      1 Reply Last reply
      0
      • Pradeep KumarP Offline
        Pradeep KumarP Offline
        Pradeep Kumar
        wrote on last edited by Pradeep Kumar
        #5

        I this doable or how can i approach in order to achieve the task?.

        please suggest.!!!!!.

        Thanks,

        Pradeep Kumar
        Qt,QML Developer

        the_T 1 Reply Last reply
        0
        • Pradeep KumarP Pradeep Kumar

          I this doable or how can i approach in order to achieve the task?.

          please suggest.!!!!!.

          Thanks,

          the_T Offline
          the_T Offline
          the_
          wrote on last edited by the_
          #6

          @Pradeep-Kumar
          <ironic>
          maybe it helps to add a lot more exclamation marks...
          </ironic>

          --edit
          ironic tags added

          -- No support in PM --

          Pradeep KumarP 1 Reply Last reply
          1
          • the_T the_

            @Pradeep-Kumar
            <ironic>
            maybe it helps to add a lot more exclamation marks...
            </ironic>

            --edit
            ironic tags added

            Pradeep KumarP Offline
            Pradeep KumarP Offline
            Pradeep Kumar
            wrote on last edited by Pradeep Kumar
            #7

            @the_ didnt get u?., still require some explanation for the query.

            Thanks,

            Pradeep Kumar
            Qt,QML Developer

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #8

              @the_ meant that writing in bold with so many exclamation marks is not the best way to query for help.

              As for changing the language of the keyboard before it appears, you may find something here

              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
              1
              • Pradeep KumarP Offline
                Pradeep KumarP Offline
                Pradeep Kumar
                wrote on last edited by
                #9

                Sorry about that exclamation in bold, and will look into the link which u @SGaist provided, and if i have a query i will get back to u guys.

                Thanks,

                Pradeep Kumar
                Qt,QML Developer

                1 Reply Last reply
                0
                • Pradeep KumarP Offline
                  Pradeep KumarP Offline
                  Pradeep Kumar
                  wrote on last edited by
                  #10

                  Hello,

                  Can the user get the plugin loaded from any path means, can the user add libqtvirtualkeyboardplugin.so to the project directory and then load,

                  How can we achieve this.

                  Thanks,

                  Pradeep Kumar
                  Qt,QML Developer

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #11

                    IIRC, you would need to also call QCoreApplication::addLibraryPath but in any case, no you can't put plugins in random places for your application to load.

                    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
                    • Pradeep KumarP Offline
                      Pradeep KumarP Offline
                      Pradeep Kumar
                      wrote on last edited by
                      #12

                      Hi,

                      Thanks for the reply @SGaist ,

                      1. Asked because i want this libqtvirtualkeyboardplugin.so which is there in the path

                      /home/user/Qt5.7.0/5.7/gcc_64/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so

                      to be placed in desktop or any other folder may be in user path, and then use QPluginLoader to load the lib so in my app, will be having LineEdit ,on click on it virtualkeyboard appears.

                      This is what am thinking to do.

                      1. My another query is in the same path libcomposeplatforminputcontextplugin.so and
                        libibusplatforminputcontextplugin.so is present in the same path of libqtvirtualkeyboardplugin.so , is it related to qtvirtualkeyboard?.

                      Thanks,

                      Pradeep Kumar
                      Qt,QML Developer

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #13

                        Qt uses a known folder structure for its plugins so for example, input related plugins should be put in platforminputcontexts.

                        What is the rational behind putting that plugin in your user desktop folder ?

                        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

                        • Login

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