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. Deploying custom plugins to Android
Forum Updated to NodeBB v4.3 + New Features

Deploying custom plugins to Android

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 1.6k 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.
  • K Offline
    K Offline
    ktaggart
    wrote on last edited by
    #1

    Hello,

    New to Qt, but have been creating an app while I learn. Everything has gone pretty well until now...

    I went through the "Charts" tutorial concerning creating a C++ plugin. I was able to successfully create the plugin and build/run it on the desktop (linux).

    I then created my own C++ plugin, which also worked correctly in my desktop application.

    The next step was to try creating an Android x86 version of the app. I recompiled my C++ plugin for Android, added it to my project and built/deployed the app to the target (AVD running API 18).

    I received a Qt error indicating that my module was not installed.

    I went back to the chapter6 plugin tutorial (Charts), and reconfigured it for Android x86. It also failed with the same type of error 'module "Charts" is not installed'. To reiterate, it works perfectly as a desktop app.

    In both cases, I verified that the plugin was included in the APK and that it was installed on the target via adb shell.

    Apparently, the method used for using C++ plugins with Android Qt apps is different than when creating desktop apps.

    Can anyone shed some light on what the solution is for getting a custom C++ plugin working with a Qt Android app?

    I am using Qt 5.3.1, GCC 4.6.1, 64-bit for Linux with the Android Kit installed. I can create and run my own QML apps just fine under Android, it is only when I try adding a C++ plugin that I get failures (including the example tutorial mentioned above).

    Thx,

    -k

    1 Reply Last reply
    0
    • K Offline
      K Offline
      ktaggart
      wrote on last edited by
      #2

      Is there a better, more appropriate forum for getting support?

      Thx,

      -k

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

        Hi and welcome to devnet,

        Please allow 24 to 72 hours before bumping your own thread not all people active on this forum lives in the same timezone as you.

        That said, you can also try the #qt irc channel and the interest mailing list

        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
        • K Offline
          K Offline
          ktaggart
          wrote on last edited by
          #4

          Thanks for the response. Any chance you can respond to my first question?

          I would think it would be something that arrises often, with a possible work around from experienced developers.

          Thx,

          -k

          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