Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QCA android version
Forum Updated to NodeBB v4.3 + New Features

QCA android version

Scheduled Pinned Locked Moved Qt Creator and other tools
7 Posts 2 Posters 1.9k Views 2 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.
  • T Offline
    T Offline
    TheQuakee
    wrote on 18 Mar 2015, 22:52 last edited by
    #1

    I'm developing QML application as android and desktop version with QCA support, as long as i just worked with desktop version, there wasn't any problems. When I tried to compile android version, compiler started to say that there is no lqca (error: cannot find -lqca). I downloaded QCA 2.1 source from http://delta.affinix.com/qca and compilled as it is described in INSTALL file (on Windows) i have libqca.dll.a and others .dll files.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 19 Mar 2015, 10:38 last edited by
      #2

      You most probably need to cross compile this library for Android, and then configure your project so that it is included into the APK file automatically.

      (Z(:^

      1 Reply Last reply
      0
      • T Offline
        T Offline
        TheQuakee
        wrote on 19 Mar 2015, 22:54 last edited by
        #3

        @sierdzio Any advices how to do that? I have to build shared object (.so) libraries?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 20 Mar 2015, 07:16 last edited by
          #4

          Yes, you need a .so, compiled with certain Android architecture in mind. I've quickly searched the web on how to easily do that in case of QCA, but found no results. It's build system seems to be based on cmake, so maybe that will lead you to a good solution

          (Z(:^

          1 Reply Last reply
          0
          • T Offline
            T Offline
            TheQuakee
            wrote on 21 Mar 2015, 22:30 last edited by
            #5

            I built .a file, changed extension to .so and it worked

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sierdzio
              Moderators
              wrote on 22 Mar 2015, 08:58 last edited by
              #6

              Haha, nice one :-)

              (Z(:^

              1 Reply Last reply
              0
              • T Offline
                T Offline
                TheQuakee
                wrote on 27 Mar 2015, 21:02 last edited by
                #7

                I still got problems, i don't have idea why it is not working, when i tried last time to compile this - it worked, now i'm trying to compile (i haven't changed anything) - it's not working.
                It's working well on desktop version Qt 5.4.0, i can't get it working on android http://scr.hu/0tgp/6ntgy
                undefined reference, but the same QCA files are with desktop and android version so i don't know what is wrong :/

                1 Reply Last reply
                0

                4/7

                20 Mar 2015, 07:16

                • Login

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