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. QT Virtual Keyboard not appears

QT Virtual Keyboard not appears

Scheduled Pinned Locked Moved Unsolved General and Desktop
22 Posts 3 Posters 3.4k Views 1 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.
  • V Offline
    V Offline
    V0rtex
    wrote on last edited by
    #1

    Virtual Keyboard only appears when start application with qt creator.
    I deploy my exe file.

    windeployqt <exe Fıle> 
    

    My exe file is opening but keyboard not appears.

    I am using QT 5.14.2 .

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

      Hi,

      Did you check that the related plugins have been deployed as well ?

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

      V 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Did you check that the related plugins have been deployed as well ?

        V Offline
        V Offline
        V0rtex
        wrote on last edited by
        #3

        @SGaist which plugins need?
        There is a file which name is virtualkeyboard on deploy path. And it has five or six plugins in there. Is there any file that i need to copy in my exe path?

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

          What if you run your application like this:

          QT_IM_MODULE=qtvirtualkeyboard myapp
          

          ?

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

          V 1 Reply Last reply
          0
          • SGaistS SGaist

            What if you run your application like this:

            QT_IM_MODULE=qtvirtualkeyboard myapp
            

            ?

            V Offline
            V Offline
            V0rtex
            wrote on last edited by
            #5

            @SGaist should i write in main.cpp or .pro file

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

              On your terminal.

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

              V 2 Replies Last reply
              0
              • SGaistS SGaist

                On your terminal.

                V Offline
                V Offline
                V0rtex
                wrote on last edited by
                #7

                @SGaist

                C:\Users\hasan.yilmaz\Desktop\TRM RELEASE>QT_IM_MODULE=qtvirtualkeyboard myapp
                'QT_IM_MODULE' is not recognized as an internal or external command,
                operable program or batch file.
                

                i have this problem.

                V 1 Reply Last reply
                0
                • V V0rtex

                  @SGaist

                  C:\Users\hasan.yilmaz\Desktop\TRM RELEASE>QT_IM_MODULE=qtvirtualkeyboard myapp
                  'QT_IM_MODULE' is not recognized as an internal or external command,
                  operable program or batch file.
                  

                  i have this problem.

                  V Offline
                  V Offline
                  V0rtex
                  wrote on last edited by
                  #8

                  @V0rtex i write my app name instead of 'myapp' nothing change.

                  1 Reply Last reply
                  0
                  • SGaistS SGaist

                    On your terminal.

                    V Offline
                    V Offline
                    V0rtex
                    wrote on last edited by
                    #9

                    @SGaist ?

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

                      Right, you are on Windows.QT_IM_MODULE is an environment variable.

                      set QT_IM_MODULE="qtvirtualkeyboard"
                      your_app_name
                      

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

                      V 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        Right, you are on Windows.QT_IM_MODULE is an environment variable.

                        set QT_IM_MODULE="qtvirtualkeyboard"
                        your_app_name
                        
                        V Offline
                        V Offline
                        V0rtex
                        wrote on last edited by
                        #11

                        @SGaist

                        C:\Users\hasan.yilmaz\Desktop\TRM RELEASE>set QT_IM_MODULE="qtvirtualkeyboard" TRM.exe
                        

                        I did it like that and nothing change.

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

                          The two separate lines were on purpose.

                          The next debugging step is to set the QT_DEBUG_PLUGINS environment variable to 1 and start your application. You'll have a log of what of what is happening with the plugins. Check in there the entries related to QtVirtualKeyboard.

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

                          V 1 Reply Last reply
                          0
                          • SGaistS SGaist

                            The two separate lines were on purpose.

                            The next debugging step is to set the QT_DEBUG_PLUGINS environment variable to 1 and start your application. You'll have a log of what of what is happening with the plugins. Check in there the entries related to QtVirtualKeyboard.

                            V Offline
                            V Offline
                            V0rtex
                            wrote on last edited by
                            #13

                            @SGaist I can't do it. Can you help me from begining?

                            jsulmJ 1 Reply Last reply
                            0
                            • V V0rtex

                              @SGaist I can't do it. Can you help me from begining?

                              jsulmJ Offline
                              jsulmJ Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on last edited by
                              #14

                              @V0rtex

                              set QT_DEBUG_PLUGINS=1
                              TRM.exe
                              

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

                              V 1 Reply Last reply
                              0
                              • jsulmJ jsulm

                                @V0rtex

                                set QT_DEBUG_PLUGINS=1
                                TRM.exe
                                
                                V Offline
                                V Offline
                                V0rtex
                                wrote on last edited by
                                #15

                                @jsulm
                                Sorry but i can't do it . I tried every option. Can you access my pc and help me ?

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

                                  What can't you do ?

                                  We gave you literally what you need to write in Windows command prompt to debug your issue.

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

                                  V 1 Reply Last reply
                                  0
                                  • SGaistS SGaist

                                    What can't you do ?

                                    We gave you literally what you need to write in Windows command prompt to debug your issue.

                                    V Offline
                                    V Offline
                                    V0rtex
                                    wrote on last edited by
                                    #17

                                    @SGaist I figure it out. When i am writing

                                    windeployqt TRM.exe
                                    

                                    Automatically it add Qt5Core.dll. It is blocking virtual keyboard. But when i copy Qt5Core.dll from qt path virtual keyboard appear.

                                    After that i copy the all .exe file to another computer which is not installed Qt. Program doesn't work.
                                    0xc00007b ERROR occuring.

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

                                      You should use the windeployqt executable that matches the version where you have the virtual keyboard module installed.

                                      If you have a different QtCore version then it's pretty strange.

                                      By the way, which compiler are you using ?

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

                                      V 1 Reply Last reply
                                      0
                                      • SGaistS SGaist

                                        You should use the windeployqt executable that matches the version where you have the virtual keyboard module installed.

                                        If you have a different QtCore version then it's pretty strange.

                                        By the way, which compiler are you using ?

                                        V Offline
                                        V Offline
                                        V0rtex
                                        wrote on last edited by
                                        #19

                                        @SGaist MinGW 7.3.0 32 Bit

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

                                          Did you check that you have the MinGW runtime dlls deployed as well ?

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

                                          V 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