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. How to deploy virtual keyboard on Windows

How to deploy virtual keyboard on Windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 1.6k 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.
  • K Offline
    K Offline
    KaoN
    wrote on last edited by KaoN
    #1

    hi all,

    I'm using 5.7 with virtual keyboard,
    I tried to copy platforminputcontexts and qml\QtQuick\VirtualKeyboard to app folder, but seems the keyboard does not want to appear. It do working when I copy app to Qt\5.7\mingw53_32\bin folder.

    Please give me a hint, thank you in advance.

    raven-worxR 1 Reply Last reply
    0
    • K KaoN

      hi all,

      I'm using 5.7 with virtual keyboard,
      I tried to copy platforminputcontexts and qml\QtQuick\VirtualKeyboard to app folder, but seems the keyboard does not want to appear. It do working when I copy app to Qt\5.7\mingw53_32\bin folder.

      Please give me a hint, thank you in advance.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @KaoN

      1. what is the output in the console when you set the env variable QT_DEBUG_PLUGINS to a non-zero value
      2. what is the output of QCoreApplication::libraryPaths()

      --- 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

      K 1 Reply Last reply
      1
      • raven-worxR raven-worx

        @KaoN

        1. what is the output in the console when you set the env variable QT_DEBUG_PLUGINS to a non-zero value
        2. what is the output of QCoreApplication::libraryPaths()
        K Offline
        K Offline
        KaoN
        wrote on last edited by
        #3

        @raven-worx
        hi,
        It was really strange that I found if I use Qt5Core.dll from where windeployqt copied, the keyboard won't show; but if I manully copied Qt5Core.dll from QtPATH/bin, it's working!! I compared with two dll, seems..fine.

        Anyway, windeployqt will missing copy platforminputcontexts, QtQuick/VirtualKeyboard, QtQuick.2, Qt5Qml and Qt5Quick

        Just confused by the two Qt5Core.dll

        1 Reply Last reply
        0
        • Chris KawaC Online
          Chris KawaC Online
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by
          #4

          windeployqt patches the copied dlls to not include hardcoded paths to Qt plugins. Because of that it may seem that manual copy solves the problem, but in fact it creates a worse one. The hardcoded paths make it work on your machine no matter what location you run it from, but it won't work when you deploy your app to another computer. That's one of the roles of windeployqt - to give you a deployment package that you can test as if it were tested on another machine. If after using it something is missing then something is really missing.

          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