Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. qt virtual keyboard not loading with armeabi v-7a
Forum Updated to NodeBB v4.3 + New Features

qt virtual keyboard not loading with armeabi v-7a

Scheduled Pinned Locked Moved Solved Mobile and Embedded
8 Posts 2 Posters 2.5k 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.
  • L Offline
    L Offline
    LeeH
    wrote on last edited by
    #1

    I am trying to use the virtual keyboard for the first time in an app, so after reading through the appropriate docs, I called the QT_IM_MODULE in main like so:

    qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); 
    

    In QML, I import:

    import QtQuick.VirtualKeyboard 2.0
    

    then instatiate an InputPanel and everything is wonderful when using minGW5.3 for my desktop build. But as soon as I switch my to my android kit armeabi v-7a
    I get error: module "QtQuick.VirtualKeyboard" is not installed and red line under
    the import..

    In the docs I did see that there are 2 ways to load the plugin, the one in main that works for me and another:

    $ QT_IM_MODULE=qtvirtualkeyboard myapp
    

    But I had no luck with this, I had tried to add it to the .pro but was a fail..
    I think this is the problem, but not sure how to fix it.

    Thanks for any help

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

      Hi,

      What version of Qt are you using ? How did you build it ? On what platform are you running ?

      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
      • L Offline
        L Offline
        LeeH
        wrote on last edited by
        #3

        Hi!

        I'm using Qt 5.8 on windows 10, and I did not build it myself, just used the unified installer...

        thanks

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

          What is your target then ? ARM is an architecture not a platform per se so you need to give more details about that matter.

          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
          • L Offline
            L Offline
            LeeH
            wrote on last edited by
            #5

            Oh ok, at the moment that would be api 20, just for testing purposes, shadow build
            is on, and Qt deployment is set to Bundle Qt libraries into APK. (if that helps)

            And I'm also using the latest JDK, Android SDK, Android NDK, and Apache Ant files.

            Let me know if you need anything else..

            thanks

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

              See this wiki entry about the known issues with the Android SDK.

              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
              • L Offline
                L Offline
                LeeH
                wrote on last edited by
                #7

                Hi thanks for the wiki

                Thats just great. More bugs! I was aware of one that meant that the latest Android SDK tools had to be replaced with 25.2.5 tools (which it is what I had done before this keyboard issue) or Android just won't build... so my SDK was ok.

                After looking at your wiki post, and realising there are even more bugs, I also downgraded my latest NDK from r14b to r10e. Still no luck. If this can't be fixed then I may have to look into alternatives as it is driving me nuts.. Maliit may be an option, or making it myself, but I would rather use Qt's keyboard. So annoying...

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  LeeH
                  wrote on last edited by
                  #8

                  Actually I've found what I was looking for and it was right under my nose... I didn't need qt virtual keyboard at all for android (thank god), I just needed a TextField. Not as pretty but works good enough for me!

                  @SGaist Thanks for your assistance anyway. :)

                  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