1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-29 09:54:24 +02:00

Compare commits

...

18 Commits

Author SHA1 Message Date
a4141f52d6 Merge branch 'master' into android-latest 2025-05-07 23:35:49 +02:00
5898cd0878 Merge branch 'master' into android-latest 2025-04-22 19:22:36 +02:00
f5f71ab46e Merge branch 'master' into android-latest 2025-04-16 09:27:33 +02:00
e450e298a2 Merge branch 'master' into android-latest 2025-03-21 22:30:11 +01:00
977fea9330 Merge branch 'master' into android-latest 2025-03-08 15:32:39 +01:00
636aff6f31 Merge branch 'master' into android-latest 2025-02-21 00:56:25 +01:00
ed0ab7f0aa Merge branch 'master' into android-latest 2025-02-19 07:56:37 +01:00
bded204816 Merge branch 'master' into android-latest 2025-02-13 23:48:32 +01:00
1ce8072b62 Merge branch 'master' into android-latest 2025-02-11 08:26:02 +01:00
a06dbf7676 Merge branch 'master' into android-latest 2025-02-11 08:20:29 +01:00
afae851d56 Merge branch 'master' into android-latest 2025-01-25 16:19:30 +01:00
b9999a5c4f Added geo URI support info 2025-01-25 16:15:02 +01:00
03ee575aac Merge branch 'master' into android-latest 2025-01-25 11:56:15 +01:00
fc196543a1 Merge branch 'master' into android-latest 2025-01-25 11:31:08 +01:00
9d60d1c9fc Merge branch 'master' into android-latest 2025-01-21 21:48:01 +01:00
8d4236c898 Merge branch 'master' into android-latest 2025-01-05 09:44:20 +01:00
4ee39fe707 Merge branch 'master' into android-latest 2025-01-03 19:50:00 +01:00
347212f012 Make the build work with Qt 6.8.1 (and newer)
As for now, this is just for Qt debuging as multiple stuff is broken in Qt 6.8.1
- The new style has serious render issues
- Reading files in a directory is by multiple order of magnitude slower
- The zoom gestures do not work reliably

Qt versions prior to 6.8.1 are completely unusable due to the broken main menu.
2024-12-17 14:39:42 +01:00
3 changed files with 48 additions and 12 deletions

View File

@ -1,10 +1,30 @@
<?xml version="1.0"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.gpxsee.gpxsee" android:installLocation="auto" android:versionCode="-- %%INSERT_VERSION_CODE%% --" android:versionName="-- %%INSERT_VERSION_NAME%% --">
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.gpxsee.gpxsee"
android:installLocation="auto"
android:versionCode="-- %%INSERT_VERSION_CODE%% --"
android:versionName="-- %%INSERT_VERSION_NAME%% --">
<!-- %%INSERT_PERMISSIONS -->
<!-- %%INSERT_FEATURES -->
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true"/>
<application android:name="org.qtproject.qt.android.bindings.QtApplication" android:extractNativeLibs="true" android:hardwareAccelerated="true" android:label="-- %%INSERT_APP_NAME%% --" android:requestLegacyExternalStorage="true" android:allowNativeHeapPointerTagging="false" android:icon="@drawable/icon">
<activity android:name="org.gpxsee.gpxsee.Activity" android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density" android:label="-- %%INSERT_APP_NAME%% --" android:launchMode="singleTop" android:screenOrientation="unspecified" android:exported="true">
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"/>
<application
android:name="org.qtproject.qt.android.bindings.QtApplication"
android:hardwareAccelerated="true"
android:label="-- %%INSERT_APP_NAME%% --"
android:requestLegacyExternalStorage="true"
android:allowBackup="true"
android:fullBackupOnly="false"
android:icon="@drawable/icon">
<activity
android:name="org.gpxsee.gpxsee.Activity"
android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density"
android:launchMode="singleTop"
android:screenOrientation="unspecified"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
@ -28,10 +48,22 @@
<data android:scheme="geo"/>
</intent-filter>
<meta-data android:name="android.app.lib_name" android:value="-- %%INSERT_APP_LIB_NAME%% --"/>
<meta-data android:name="android.app.arguments" android:value="-- %%INSERT_APP_ARGUMENTS%% --"/>
<meta-data android:name="android.app.extract_android_style" android:value="minimal"/>
<meta-data
android:name="android.app.lib_name"
android:value="-- %%INSERT_APP_LIB_NAME%% --"/>
<meta-data
android:name="android.app.arguments"
android:value="-- %%INSERT_APP_ARGUMENTS%% --"/>
</activity>
</application>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.qtprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/qtprovider_paths"/>
</provider>
</application>
</manifest>

View File

@ -5,7 +5,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.1'
classpath 'com.android.tools.build:gradle:8.6.0'
}
}
@ -14,10 +14,12 @@ repositories {
mavenCentral()
}
apply plugin: 'com.android.application'
apply plugin: qtGradlePluginType
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
//noinspection GradleDependency
implementation 'androidx.core:core:1.13.1'
}
android {
@ -28,14 +30,15 @@ android {
* - qtAndroidDir - holds the path to qt android files
* needed to build any Qt application
* on Android.
* - qtGradlePluginType - whether to build an app or a library
*
* are defined in gradle.properties file. This file is
* updated by QtCreator and androiddeployqt tools.
* Changing them manually might break the compilation!
*******************************************************/
//compileSdkVersion androidCompileSdkVersion
compileSdkVersion "android-33"
namespace androidPackageName
compileSdkVersion androidCompileSdkVersion
buildToolsVersion androidBuildToolsVersion
ndkVersion androidNdkVersion

View File

@ -17,4 +17,5 @@
<string name="static_init_classes"><!-- %%INSERT_INIT_CLASSES%% --></string>
<string name="use_local_qt_libs"><!-- %%USE_LOCAL_QT_LIBS%% --></string>
<string name="bundle_local_qt_libs"><!-- %%BUNDLE_LOCAL_QT_LIBS%% --></string>
<string name="system_libs_prefix"><!-- %%SYSTEM_LIBS_PREFIX%% --></string>
</resources>