Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QT6: Installing virtual keyboard
Forum Updated to NodeBB v4.3 + New Features

QT6: Installing virtual keyboard

Scheduled Pinned Locked Moved Solved QML and Qt Quick
8 Posts 3 Posters 3.1k 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.
  • J Offline
    J Offline
    jcdelve
    wrote on last edited by jcdelve
    #1

    Hello! This might be a very quick fix, but basically my issue is that I can't get the virtual keyboard in my application to run. When I try and run my app, this is the error that comes up:

    qrc:/main.qml:127:9: QML StackView: push: qrc:/service/passcode.qml:36 Type InputPanel unavailable
    qrc:/QtQuick/VirtualKeyboard/content/InputPanel.qml:131 Type Keyboard unavailable
    qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:38 module "QtQuick.VirtualKeyboard.Plugins" is not installed

    Now, this is my first app in QT6. I've had keyboards in QT5 before and they've worked, so I'm pretty sure it's not my code and my setup. I have the QT Virtual Keyboard module installed in the Maintenance Tool under my version.

    2d368c5d-49a6-4bf3-8f47-ce8ccd9d12ed-image.png

    Is there a reason why it still says it isn't installed?

    1 Reply Last reply
    0
    • JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #2

      did you call this in your main.cpp?
      qputenv( "QT_IM_MODULE", QByteArray( "qtvirtualkeyboard" ) );

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jcdelve
        wrote on last edited by
        #3

        Oops, forgot to mention that I did put that in already.

        And if this makes a difference, I can't get it in either windows or linux.

        JoeCFDJ 1 Reply Last reply
        0
        • J jcdelve

          Oops, forgot to mention that I did put that in already.

          And if this makes a difference, I can't get it in either windows or linux.

          JoeCFDJ Offline
          JoeCFDJ Offline
          JoeCFD
          wrote on last edited by
          #4

          @jcdelve in pro file
          #add virtual keyboard support
          QTPLUGIN += qtvirtualkeyboardplugin

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jcdelve
            wrote on last edited by
            #5

            Haha I've got that already too.

            1 Reply Last reply
            0
            • JoeCFDJ Offline
              JoeCFDJ Offline
              JoeCFD
              wrote on last edited by
              #6

              https://github.com/sddm/sddm/issues/1290
              check this one out. Not sure if helps. I have not started to use Qt6. Good luck!

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jcdelve
                wrote on last edited by
                #7

                To add more information:

                InputPanel causes these errors to show up - if I remove InputPanel, then the app runs fine. But the TextInput does not show a keyboard, although I can type in it from my physical one.

                A 1 Reply Last reply
                0
                • J jcdelve

                  To add more information:

                  InputPanel causes these errors to show up - if I remove InputPanel, then the app runs fine. But the TextInput does not show a keyboard, although I can type in it from my physical one.

                  A Offline
                  A Offline
                  afalsa
                  wrote on last edited by
                  #8

                  @jcdelve did you solve it?

                  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