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. How to create an Android lib with tests using Qt
Forum Updated to NodeBB v4.3 + New Features

How to create an Android lib with tests using Qt

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 481 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.
  • J Offline
    J Offline
    Juan Garcia
    wrote on last edited by
    #1

    There is any way to create an Android lib using Qt and add to this libs some test. Any small example about how to achieve that? I have a project composed by static lib and I want to add a SUBDIR with test. I have created that SUBDIR but I cannot run this test using QtCreator because androiddeployqt always returns code 7. I cannot find any documentation about create a QtTest for Android lib so I'm looking for any help or example.

    Thanks in advance.

    K 1 Reply Last reply
    0
    • J Juan Garcia

      There is any way to create an Android lib using Qt and add to this libs some test. Any small example about how to achieve that? I have a project composed by static lib and I want to add a SUBDIR with test. I have created that SUBDIR but I cannot run this test using QtCreator because androiddeployqt always returns code 7. I cannot find any documentation about create a QtTest for Android lib so I'm looking for any help or example.

      Thanks in advance.

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @Juan-Garcia

      Hi and welcome to devnet forum

      What do you mean with Android lib?
      What is special that call it Android lib?

      Basically all applications from my point of view, that might be limited, you develop with Qt creator can be compiled also for a desktop OS such as windows, MacOs, and linux. Therefore, I would simply write tests on the desktop I am using for my development. A restriction I see is that there is a slight chance that one of the special Android libraries does not work properly.

      Vote the answer(s) that helped you to solve your issue(s)

      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