Qt build takes over dev.ultra.launcher
Same package and signing key as the WebView build, so the Qt APK installs over it in place for testing on the phone. It keeps updating itself from launcher-qt-latest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
This commit is contained in:
4 files changed
+6
-6
No files matched your search
@@ -71,8 +71,8 @@ jobs:
|
|||||||
--notes "Debug-signed APK of android/ built from $GITHUB_SHA. Install it, press Home, and pick ultra Home."
|
--notes "Debug-signed APK of android/ built from $GITHUB_SHA. Install it, press Home, and pick ultra Home."
|
||||||
|
|
||||||
# The Qt Quick rewrite in qt/: the grid logic and an end-to-end test of the QML UI on
|
# The Qt Quick rewrite in qt/: the grid logic and an end-to-end test of the QML UI on
|
||||||
# desktop Qt (offscreen), then an APK. Until it takes over, it installs as its own app
|
# desktop Qt (offscreen), then an APK. Its package is dev.ultra.launcher with the same key, so it installs over the WebView build
|
||||||
# (dev.ultra.launcher.qt, "ultra Home (Qt)") from the launcher-qt-latest prerelease.
|
# ("ultra Home (Qt)"); it updates itself from the launcher-qt-latest prerelease.
|
||||||
qt-test:
|
qt-test:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
@@ -141,4 +141,4 @@ jobs:
|
|||||||
gh release delete launcher-qt-latest --yes --cleanup-tag || true
|
gh release delete launcher-qt-latest --yes --cleanup-tag || true
|
||||||
gh release create launcher-qt-latest ultra-launcher.apk version.json --prerelease --target "$GITHUB_SHA" \
|
gh release create launcher-qt-latest ultra-launcher.apk version.json --prerelease --target "$GITHUB_SHA" \
|
||||||
--title "ultra launcher, Qt build (latest)" \
|
--title "ultra launcher, Qt build (latest)" \
|
||||||
--notes "The Qt Quick rewrite (qt/), built from $GITHUB_SHA. It installs next to the WebView launcher as \"ultra Home (Qt)\". Press Home and pick it to try it."
|
--notes "The Qt Quick rewrite (qt/), built from $GITHUB_SHA. It installs over the WebView launcher (same package and key) as \"ultra Home (Qt)\"."
|
||||||
@@ -29,7 +29,7 @@ Every push to ultra's main publishes a new `ultra` package. To pick it up, run `
|
|||||||
|
|
||||||
## Qt rewrite (in progress)
|
## Qt rewrite (in progress)
|
||||||
|
|
||||||
`qt/` is the launcher rewritten as a Qt Quick (QML) app for Android, replacing ultra and the WebView. `qt/qml` is the UI (`Main.qml`, with the grid packing in `Layout.js`), `qt/src` a thin C++ backend, and `qt/android` the Java side (`HomeActivity`, a `QtActivity` that lists apps, draws icons, launches, and hosts the native widget views over the QML slots). Until it reaches parity it installs as its own app, **ultra Home (Qt)** (`dev.ultra.launcher.qt`), from the [`launcher-qt-latest` release](https://github.com/codegod100/launcher/releases/tag/launcher-qt-latest).
|
`qt/` is the launcher rewritten as a Qt Quick (QML) app for Android, replacing ultra and the WebView. `qt/qml` is the UI (`Main.qml`, with the grid packing in `Layout.js`), `qt/src` a thin C++ backend, and `qt/android` the Java side (`HomeActivity`, a `QtActivity` that lists apps, draws icons, launches, and hosts the native widget views over the QML slots). It uses the same package (`dev.ultra.launcher`) and key as the WebView build, so it installs over it, as **ultra Home (Qt)**, from the [`launcher-qt-latest` release](https://github.com/codegod100/launcher/releases/tag/launcher-qt-latest).
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
node qt/tests/layout.test.mjs # grid packing
|
node qt/tests/layout.test.mjs # grid packing
|
||||||
|
|||||||
+1
-1
@@ -49,7 +49,7 @@ target_link_libraries(ultrahome PRIVATE launcher_uiplugin launcher_ui Qt6::Quick
|
|||||||
|
|
||||||
set_target_properties(ultrahome PROPERTIES
|
set_target_properties(ultrahome PROPERTIES
|
||||||
QT_ANDROID_PACKAGE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/android"
|
QT_ANDROID_PACKAGE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/android"
|
||||||
QT_ANDROID_PACKAGE_NAME "dev.ultra.launcher.qt"
|
QT_ANDROID_PACKAGE_NAME "dev.ultra.launcher"
|
||||||
QT_ANDROID_VERSION_CODE "${VERSION_CODE}"
|
QT_ANDROID_VERSION_CODE "${VERSION_CODE}"
|
||||||
QT_ANDROID_VERSION_NAME "0.2.${VERSION_CODE}"
|
QT_ANDROID_VERSION_NAME "0.2.${VERSION_CODE}"
|
||||||
QT_ANDROID_MIN_SDK_VERSION 28
|
QT_ANDROID_MIN_SDK_VERSION 28
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<!-- Qt fills in the %%INSERT_...%% markers when it builds the APK (androiddeployqt). -->
|
<!-- Qt fills in the %%INSERT_...%% markers when it builds the APK (androiddeployqt). -->
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="dev.ultra.launcher.qt"
|
package="dev.ultra.launcher"
|
||||||
android:installLocation="auto"
|
android:installLocation="auto"
|
||||||
android:versionCode="-- %%INSERT_VERSION_CODE%% --"
|
android:versionCode="-- %%INSERT_VERSION_CODE%% --"
|
||||||
android:versionName="-- %%INSERT_VERSION_NAME%% --">
|
android:versionName="-- %%INSERT_VERSION_NAME%% --">
|
||||||
|
|||||||
Reference in new issue
Block a user