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, Android Studio, Git and repository?

Qt, Android Studio, Git and repository?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 630 Views
  • 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.
  • P Offline
    P Offline
    pga4711
    wrote on last edited by pga4711
    #1

    Hello,

    I am working on a single person open source project at a company that will create Android-apps in Qt but also test some parts in Android Studio. I would like to sync all projects to home so I can continue the work from home or maybe look at the code on the commuter.

    I dont know really how to abstract and "understand" a repository on Git. And i would like to use git. I have two structures here. Alternative 1 and alternative 2. I think it would be nice if i use alternative 1, because then, i only have one repository. But there might be confligts if i use alternative 1? But i don't know how confused Git, Android Studio and Qt Creator will be if i have both Qt and Android-projects in the same repository.

    0_1522134085810_AndroidQTgitAlt1.jpg

    0_1522135508383_AndroidQTgitAlt2.jpg

    For example now i have ~15 Qt projects and 2 Android projects, and i would like to mirror them to GitHub and the two computers i use. For example now a project in Android is a "Repository" in some way, but i dont think it is good configured. What have happened here?

    At github it looks like this:
    0_1522135665916_CurrentRepoOnGithub.jpg

    And on my drive it looks like this (in the long term i might want qt-projects and android-projects in the same repository):
    0_1522135285793_CurrentProjectsOnHDD.jpg

    What theory need i understand before i proceed? I thought a project might be a repository at some time.

    jsulmJ 1 Reply Last reply
    0
    • P pga4711

      Hello,

      I am working on a single person open source project at a company that will create Android-apps in Qt but also test some parts in Android Studio. I would like to sync all projects to home so I can continue the work from home or maybe look at the code on the commuter.

      I dont know really how to abstract and "understand" a repository on Git. And i would like to use git. I have two structures here. Alternative 1 and alternative 2. I think it would be nice if i use alternative 1, because then, i only have one repository. But there might be confligts if i use alternative 1? But i don't know how confused Git, Android Studio and Qt Creator will be if i have both Qt and Android-projects in the same repository.

      0_1522134085810_AndroidQTgitAlt1.jpg

      0_1522135508383_AndroidQTgitAlt2.jpg

      For example now i have ~15 Qt projects and 2 Android projects, and i would like to mirror them to GitHub and the two computers i use. For example now a project in Android is a "Repository" in some way, but i dont think it is good configured. What have happened here?

      At github it looks like this:
      0_1522135665916_CurrentRepoOnGithub.jpg

      And on my drive it looks like this (in the long term i might want qt-projects and android-projects in the same repository):
      0_1522135285793_CurrentProjectsOnHDD.jpg

      What theory need i understand before i proceed? I thought a project might be a repository at some time.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @pga4711 Usually each project is in its own repository. If you put more than one project into same repository then you will mix up the history of all these projects, it would be a mess.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      • Login

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