revisions

This commit is contained in:
pls.153 2022-03-31 08:30:45 +02:00
parent 408ba0a2be
commit b3eb6cb09a
4 changed files with 9 additions and 5 deletions

View file

@ -0,0 +1,3 @@
# install/update (keeps app data)
adb install -r android-build/*.apk
adb shell am start -n org.lqml.example.clog/org.qtproject.qt5.android.bindings.QtActivity # Qt5

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<manifest package="org.qtproject.example.app" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0" android:versionCode="1" android:installLocation="auto"> <manifest package="org.lqml.example.clog" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0" android:versionCode="1" android:installLocation="auto">
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application. <!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
Remove the comment if you do not require these default permissions. --> Remove the comment if you do not require these default permissions. -->
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.INTERNET"/>

View file

@ -7,6 +7,7 @@ Rectangle {
id: main id: main
width: Screen.desktopAvailableWidth width: Screen.desktopAvailableWidth
height: Screen.desktopAvailableHeight height: Screen.desktopAvailableHeight
color: Qt.darker("lightsteelblue", 1.25)
property bool small: (Math.max(width, height) < 1000) property bool small: (Math.max(width, height) < 1000)

View file

@ -23,8 +23,8 @@ simultaneoulsy.
This even works (with some limitations, and only in this This even works (with some limitations, and only in this
[advanced example](examples/advanced-qml-auto-reload/)) at QML file level, [advanced example](examples/advanced-qml-auto-reload/)) at QML file level,
which means: only the QML file currently edited is reloaded, preserving the which means: only the QML file currently edited is reloaded, preserving the
state of all other QML files, and more importantly, the current view in case state of all other QML files, and -- more importantly -- the current view in
of nested page structures. case of nested page structures.
License License
@ -41,8 +41,8 @@ Only tested with **Qt5.15** and latest **Qt6**. It's recommended to use the new
Qt online installer (see [doc/get-qt6](doc/get-qt6.md)), where you can choose Qt online installer (see [doc/get-qt6](doc/get-qt6.md)), where you can choose
to install different Qt versions side by side, sharing the same Qt Creator. to install different Qt versions side by side, sharing the same Qt Creator.
The **mobile** part is currently only tested with **Qt5.15**, because the Qt6 The **mobile** part is currently only tested with **Qt5.15**, because the LGPL
port still lacks significant parts of mobile (as of Qt6.2). Qt6 version currently still lacks significant parts of mobile (as of Qt6.2).
TODO TODO