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. QtCreator Android - Deploy a app of a project with multiple apps
Forum Updated to NodeBB v4.3 + New Features

QtCreator Android - Deploy a app of a project with multiple apps

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

    Good evening.
    I would like to create a main project that contains more than one android app and shared libs.
    It is no problem to create a empty project and to add sub-projects,
    but it is not possible to change project settings for a single app in a sub project.
    Also there is the problem of deployment. With multiple apps as sub-projects deployment on the main-project tries somehow to combine them into one single apk and fails in the process.

    Is there a way to have a setup like this with deployment and editable project-settings for each app?

    With kind regards
    Markus

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sia9000
      wrote on last edited by
      #2

      Hello Markus,

      I am in similar situation: I want to deploy an app to android, which consists of several sub projects. Some are applications, some are libs used by the apllications. I am not able to get one of the apllications running on an android device, but there are running fine as desktop application on desktop systems.

      Did you find any solution to your problem?

      Best regards,
      Siavash

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MS_36
        wrote on last edited by
        #3

        Hello Siavash,
        I am afraid I have found no good solution to the problem.
        My workaround for my specific problem is for now to enter the sourcefiles I like to share between apps directly into each apps *.pro file.
        The apps themself are still in serperate Qt-Projects, but this way I can access the shared functions from each project directly and they get compiled with the project.
        To make my setup work I have a folder structur like this:
        Source/App1/App1.pro
        Source/App2/App2.pro
        Source/Shared/shared.cpp/h

        In the *.pro of App1 and 2 I just need to add at SOURCES "./../Shared/Shared.cpp" and at HEADERS "SOURCES ./../Shared/Shared.h".

        I have not found a solution to open all my apps with one *.pro file though.
        It would have been nice to somehow export a session containing all my seperate projects and put it into something like "Source/projects.session" but it seems sessions are not meant to be exported/shared in Qt.
        Maybe there will be better solution for all of this with Qt5.2 and QtCreator3.

        With kind regards
        Markus

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sia9000
          wrote on last edited by
          #4

          Hello Markus,
          thanks for the info. At least I know now what the problem is. Your forum post helped me a lot. I am now able to deploy to an adroid device. finally!

          best regards,
          Siavash

          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