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. virtualkeyboard released by Qt 5.12 didn't work
QtWS25 Last Chance

virtualkeyboard released by Qt 5.12 didn't work

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 3 Posters 1.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.
  • G Offline
    G Offline
    GreenM
    wrote on last edited by aha_1980
    #1

    Hello everyone ! Recently I want to use qt virturalkeyboard in my project, and it works well when I run the project in qt creator. However when I release it by qt for desktop, it prints "Skipping plugin qtvirtualkeyboardplugin.dll due to disabled dependencies (Qt5Qml Qt5Quick)" and the keyboard won't eject. I read the document and add some dlls ,but the keyboard is still disable. Is there anyone who know about it? Thanks!

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

      Hi and welcome to devnet,

      Did you use windeployqt for your application deployment ?

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

      G 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi and welcome to devnet,

        Did you use windeployqt for your application deployment ?

        G Offline
        G Offline
        GreenM
        wrote on last edited by
        #3

        @SGaist Thanks for you reply. Yes , I used it,but it printed “Skipping plugin qtvirtualkeyboardplugin.dll due to disabled dependencies (Qt5Qml Qt5Quick)”. I think it did't find all dependencies.

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

          Are you using the --qmldir option ?

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

          G 1 Reply Last reply
          2
          • SGaistS SGaist

            Are you using the --qmldir option ?

            G Offline
            G Offline
            GreenM
            wrote on last edited by
            #5

            @SGaist No,in fact I know few about it,and I only use "windeployqt xx.exe".
            My project is a Qapplicationwidget.In Qt 5.12.0,I just add "Qt += virtualkeyboard" in .pro file and "qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));" in main function.
            And I used"c:\rc>windeployqt xx.exe --qmldir C:\Qt\Qt5.12.0\5.12.0\mingw73_64\qml" just now,it still printed the same line starts with "skipping".

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

              Then start your application withe QT_DEBUG_PLUGINS environment variable set to 1 to see what's going on.

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

              G 1 Reply Last reply
              1
              • SGaistS SGaist

                Then start your application withe QT_DEBUG_PLUGINS environment variable set to 1 to see what's going on.

                G Offline
                G Offline
                GreenM
                wrote on last edited by
                #7

                @SGaist Sorry to borther you again.
                I add QT_DEBUG_PLUGINS environment variable and lots of messages showed,but I don't understand what they mean.
                There is a line like"The plugin 'C:/Qt/Qt5.12.0/5.12.0/mingw73_64/plugins/imageformats/qwebpd.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" in every paragraph.

                As I said,I had never used project with qml.Now I find any qml example released by my qt can't work (just crashed) ,although I have used windeployqt --qmldir.I have no idea and I‘m very confuzed.

                jsulmJ 1 Reply Last reply
                0
                • G GreenM

                  @SGaist Sorry to borther you again.
                  I add QT_DEBUG_PLUGINS environment variable and lots of messages showed,but I don't understand what they mean.
                  There is a line like"The plugin 'C:/Qt/Qt5.12.0/5.12.0/mingw73_64/plugins/imageformats/qwebpd.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" in every paragraph.

                  As I said,I had never used project with qml.Now I find any qml example released by my qt can't work (just crashed) ,although I have used windeployqt --qmldir.I have no idea and I‘m very confuzed.

                  jsulmJ Online
                  jsulmJ Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @GreenM said in virtualkeyboard released by Qt 5.12 didn't work:

                  ses incompatible Qt library. (Cannot mix debug and release libraries.)

                  this means you have a mix of debug and release libraries.
                  qwebpd.dll is the debug version of that library. You need the release version without d in front of .dll

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

                  1 Reply Last reply
                  1

                  • Login

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