From f47be25d2247c72c21726030a23b2010abb8d186 Mon Sep 17 00:00:00 2001 From: ngocdh Date: Tue, 1 Jun 2021 13:27:53 +0200 Subject: [PATCH 1/5] COMPILING.md - android instructions --- COMPILING.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/COMPILING.md b/COMPILING.md index e9a90ad161..f9e93d139c 100644 --- a/COMPILING.md +++ b/COMPILING.md @@ -145,3 +145,15 @@ Will build the file and make it available in `./Release/Jamulus.app` * Run `/path/to/qt/5.15.2/ios/bin/qmake -spec macx-xcode Jamulus.pro` * Open the generated .xcodeproject in XCode, check the Signing & Capabilities and configure a team * To run on a iOS device, build and run on the device, you'll have first trust your developer profile in device's Settings. + +## Android +* Install Qt, including the Android support from the Qt installer. +* Configure the Android settings in the Qt Creator (Tools -> Options -> Devices -> Android). Solve all warnings/errors in that dialog (set up paths to SDKs and NDKs and select the target for android, etc.). Tick on the "Automatically create kits for Android Toolk chains"). +* Make sure the Android Kit is detected on Tools -> Options -> Kits -> Kits (example: Android Qt 5.15.2 Clang Multi-Abi). It should also show in the Qt Versions tab (example: Qt 5.15.2 for Android). +* Clone Jamulus and its submodules: +`git clone https://github.com/jamulussoftware/jamulus.git` +`cd jamulus` +`git submodule update --init` +* Open Jamulus.pro in Qt Creator +* In the Projects tab -> Build & Run It should appear the Android Qt, might be disabled. Enabled it if it is not enabled. +* Then you can connect your device and build or run the project. From e1898c922ff80ebc1a46a491b3762f159659850b Mon Sep 17 00:00:00 2001 From: ngocdh Date: Tue, 1 Jun 2021 14:22:17 +0200 Subject: [PATCH 2/5] Update COMPILING.md --- COMPILING.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/COMPILING.md b/COMPILING.md index f9e93d139c..9ba06a9c42 100644 --- a/COMPILING.md +++ b/COMPILING.md @@ -148,12 +148,9 @@ Will build the file and make it available in `./Release/Jamulus.app` ## Android * Install Qt, including the Android support from the Qt installer. -* Configure the Android settings in the Qt Creator (Tools -> Options -> Devices -> Android). Solve all warnings/errors in that dialog (set up paths to SDKs and NDKs and select the target for android, etc.). Tick on the "Automatically create kits for Android Toolk chains"). +* Configure the Android settings in the Qt Creator (Tools -> Options -> Devices -> Android). Solve all warnings/errors in that dialog (set up paths to SDKs and NDKs and select the target for android, etc.). Tick on the "Automatically create kits for Android Toolchains"). * Make sure the Android Kit is detected on Tools -> Options -> Kits -> Kits (example: Android Qt 5.15.2 Clang Multi-Abi). It should also show in the Qt Versions tab (example: Qt 5.15.2 for Android). -* Clone Jamulus and its submodules: -`git clone https://github.com/jamulussoftware/jamulus.git` -`cd jamulus` +* Make sure submodules are present, notably oboe: `git submodule update --init` * Open Jamulus.pro in Qt Creator -* In the Projects tab -> Build & Run It should appear the Android Qt, might be disabled. Enabled it if it is not enabled. -* Then you can connect your device and build or run the project. +* In the Projects tab -> Build & Run It should appear the Android Qt, might be disabled. Enable it if it is not enabled. From b877b44ccfdf4ceb7429a050bd19345395382be0 Mon Sep 17 00:00:00 2001 From: ngocdh Date: Tue, 1 Jun 2021 15:03:17 +0200 Subject: [PATCH 3/5] COMPILING.md - less details --- COMPILING.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/COMPILING.md b/COMPILING.md index 9ba06a9c42..c74e3d37f3 100644 --- a/COMPILING.md +++ b/COMPILING.md @@ -148,8 +148,7 @@ Will build the file and make it available in `./Release/Jamulus.app` ## Android * Install Qt, including the Android support from the Qt installer. -* Configure the Android settings in the Qt Creator (Tools -> Options -> Devices -> Android). Solve all warnings/errors in that dialog (set up paths to SDKs and NDKs and select the target for android, etc.). Tick on the "Automatically create kits for Android Toolchains"). -* Make sure the Android Kit is detected on Tools -> Options -> Kits -> Kits (example: Android Qt 5.15.2 Clang Multi-Abi). It should also show in the Qt Versions tab (example: Qt 5.15.2 for Android). +* Configure the Android settings in Qt Creator (set up paths to SDKs and NDKs and select the target for android, etc.). For more details: https://doc.qt.io/qt-5/android-getting-started.html * Make sure submodules are present, notably oboe: `git submodule update --init` * Open Jamulus.pro in Qt Creator From c057ae3c14867a31ceb4e2204174ae60c639fc29 Mon Sep 17 00:00:00 2001 From: ngocdh Date: Wed, 2 Jun 2021 09:59:58 +0200 Subject: [PATCH 4/5] COMPILING.md - Qt's Android instructions --- COMPILING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/COMPILING.md b/COMPILING.md index c74e3d37f3..9748acf717 100644 --- a/COMPILING.md +++ b/COMPILING.md @@ -147,9 +147,9 @@ Will build the file and make it available in `./Release/Jamulus.app` * To run on a iOS device, build and run on the device, you'll have first trust your developer profile in device's Settings. ## Android -* Install Qt, including the Android support from the Qt installer. -* Configure the Android settings in Qt Creator (set up paths to SDKs and NDKs and select the target for android, etc.). For more details: https://doc.qt.io/qt-5/android-getting-started.html +* Install Qt, including the Android support from the Qt installer +* Follow Qt's [Getting Started with Qt for Android](https://doc.qt.io/qt-5/android-getting-started.html) instructions * Make sure submodules are present, notably oboe: `git submodule update --init` * Open Jamulus.pro in Qt Creator -* In the Projects tab -> Build & Run It should appear the Android Qt, might be disabled. Enable it if it is not enabled. +* Now you should be able to Build & Run for Android. From 292d01ed44516392d824e841340d620ec2ff3b70 Mon Sep 17 00:00:00 2001 From: ngocdh Date: Wed, 2 Jun 2021 10:08:49 +0200 Subject: [PATCH 5/5] COMPILING.md - clarification for "submodules" --- COMPILING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/COMPILING.md b/COMPILING.md index 9748acf717..4588a3f1d4 100644 --- a/COMPILING.md +++ b/COMPILING.md @@ -149,7 +149,7 @@ Will build the file and make it available in `./Release/Jamulus.app` ## Android * Install Qt, including the Android support from the Qt installer * Follow Qt's [Getting Started with Qt for Android](https://doc.qt.io/qt-5/android-getting-started.html) instructions -* Make sure submodules are present, notably oboe: +* Make sure Jamulus submodules are present, notably oboe: `git submodule update --init` * Open Jamulus.pro in Qt Creator * Now you should be able to Build & Run for Android.