Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28974

Allow easy switching between Android Studio and Qt Creator

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Android Support
    • None

    Description

      Currently, Qt Creator doesn't offer very good support for writing code in Java/Kotlin, but Android Studio has the right integration for that. Some users might want to write Qt code on Qt Creator and use Android Studio to write Java code. Qt for Android builds android apk under a folder android-build, that folder has all the files needed for Gradle build and also for opening with Android Studio.

      The issue with the mentioned approach is that Qt Creator will delete the android-build folder with each build, which will take away any changes done to Java code from Android Studio. Two solutions might be possible to overcome that:

      • Editing the Java source independent from the Android package structure that is in android-build. This means lots of many IntelliSense features from Android Studio won't be used.
      • Editing the Java code from the android-build folder, then making sure to sync any changes to Java code or manifest and other relevant files, before doing a new build from Qt Creator.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              assam Assam Boudjelthia
              assam Assam Boudjelthia
              Votes:
              7 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes