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 6.6.3 Qt Virtual Keyboard deployment
Forum Updated to NodeBB v4.3 + New Features

QT 6.6.3 Qt Virtual Keyboard deployment

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 349 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.
  • S Offline
    S Offline
    Sevi
    wrote on last edited by Sevi
    #1

    Good evening,

    I have the following problem:
    I have loaded the module for the virtual keyboard via qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));. When I start the whole thing in Visual Studio with debugging, the virtual keyboard works. If I now compile it as a release and deploy it with windeployqt.exe, the virtual keyboard does not work, it simply does not appear. After some searching I found some entries about Qt5, that apparently windeployqt does not copy the dlls / dependencies from the loaded modules. There is the language of "QtQuick/VirtualKeyboard, QtQuick.2, Qt5Qml and Qt5Quick"
    Now I can only find the "Qt6VirtualKeyboard.dll" but not the others. Has something changed or am I just looking in the wrong place?

    Regards
    Sevi

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sevi
      wrote on last edited by Sevi
      #2

      with

      windeployqt.exe --compiler-runtime --qmldir G:\Qt\6.6.3\msvc2019_64\qml 
      --quick --qml --release --force PATH_TO_BINARY
      

      it copied a lot of data, so I could now start the virtual keyboard. After some sorting out I now have the relevant libs/files.

      SGaistS 1 Reply Last reply
      0
      • S Sevi

        with

        windeployqt.exe --compiler-runtime --qmldir G:\Qt\6.6.3\msvc2019_64\qml 
        --quick --qml --release --force PATH_TO_BINARY
        

        it copied a lot of data, so I could now start the virtual keyboard. After some sorting out I now have the relevant libs/files.

        SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Sevi hi,

        What you did is pass the Qt qml sources, so windeployqt will copy absolutely everything.

        The qml parameter should point to your project's qml files so only what is required is copied.

        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 Extensions
        • Unsolved