mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
actually grab AndroidManifest from apk-build dir
This commit is contained in:
parent
9fd6fe49a4
commit
7c38abcde8
3 changed files with 51 additions and 6 deletions
|
@ -2,6 +2,54 @@
|
||||||
|
|
||||||
<!-- IMPORTANT: Do not manually manipulate this automatically generated file, changes will be gone after the next build! -->
|
<!-- IMPORTANT: Do not manually manipulate this automatically generated file, changes will be gone after the next build! -->
|
||||||
|
|
||||||
<manifest android:versionName="1.0" android:versionCode="1">
|
<manifest package="${ANDROID_APK_PACKAGE}" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0" android:versionCode="1" android:installLocation="auto">
|
||||||
|
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="@string/app_name" android:icon="@drawable/icon">
|
||||||
|
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation"
|
||||||
|
android:name="org.qtproject.qt5.android.bindings.QtActivity"
|
||||||
|
android:label="@string/app_name"
|
||||||
|
android:screenOrientation="unspecified"
|
||||||
|
android:launchMode="singleTop">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.intent.action.MAIN"/>
|
||||||
|
<category android:name="android.intent.category.LAUNCHER"/>
|
||||||
|
</intent-filter>
|
||||||
|
|
||||||
|
<meta-data android:name="android.app.lib_name" android:value="-- %%INSERT_APP_LIB_NAME%% --"/>
|
||||||
|
<meta-data android:name="android.app.qt_sources_resource_id" android:resource="@array/qt_sources"/>
|
||||||
|
<meta-data android:name="android.app.repository" android:value="default"/>
|
||||||
|
<meta-data android:name="android.app.qt_libs_resource_id" android:resource="@array/qt_libs"/>
|
||||||
|
<meta-data android:name="android.app.bundled_libs_resource_id" android:resource="@array/bundled_libs"/>
|
||||||
|
<!-- Deploy Qt libs as part of package -->
|
||||||
|
<meta-data android:name="android.app.bundle_local_qt_libs" android:value="-- %%BUNDLE_LOCAL_QT_LIBS%% --"/>
|
||||||
|
<meta-data android:name="android.app.bundled_in_lib_resource_id" android:resource="@array/bundled_in_lib"/>
|
||||||
|
<meta-data android:name="android.app.bundled_in_assets_resource_id" android:resource="@array/bundled_in_assets"/>
|
||||||
|
<!-- Run with local libs -->
|
||||||
|
<meta-data android:name="android.app.use_local_qt_libs" android:value="-- %%USE_LOCAL_QT_LIBS%% --"/>
|
||||||
|
<meta-data android:name="android.app.libs_prefix" android:value="/data/local/tmp/qt/"/>
|
||||||
|
<meta-data android:name="android.app.load_local_libs" android:value="-- %%INSERT_LOCAL_LIBS%% --"/>
|
||||||
|
<meta-data android:name="android.app.load_local_jars" android:value="-- %%INSERT_LOCAL_JARS%% --"/>
|
||||||
|
<meta-data android:name="android.app.static_init_classes" android:value="-- %%INSERT_INIT_CLASSES%% --"/>
|
||||||
|
<!-- Messages maps -->
|
||||||
|
<meta-data android:value="@string/ministro_not_found_msg" android:name="android.app.ministro_not_found_msg"/>
|
||||||
|
<meta-data android:value="@string/ministro_needed_msg" android:name="android.app.ministro_needed_msg"/>
|
||||||
|
<meta-data android:value="@string/fatal_error_msg" android:name="android.app.fatal_error_msg"/>
|
||||||
|
<!-- Messages maps -->
|
||||||
|
|
||||||
|
<!-- Splash screen -->
|
||||||
|
<!--
|
||||||
|
<meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/logo"/>
|
||||||
|
-->
|
||||||
|
<!-- Splash screen -->
|
||||||
|
</activity>
|
||||||
|
</application>
|
||||||
|
<uses-sdk android:minSdkVersion="${ANDROID_API_LEVEL}" android:targetSdkVersion="${ANDROID_API_LEVEL}"/>
|
||||||
|
|
||||||
|
<!-- 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. -->
|
||||||
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||||
|
|
||||||
|
|
||||||
|
<!-- The following comment will be replaced upon deployment with default features based on the dependencies of the application.
|
||||||
|
Remove the comment if you do not require these default features. -->
|
||||||
</manifest>
|
</manifest>
|
|
@ -65,6 +65,7 @@ macro(qt_create_apk)
|
||||||
if (_LOCATED_DEP MATCHES "\\.a$")
|
if (_LOCATED_DEP MATCHES "\\.a$")
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
TARGET ${TARGET_NAME}
|
TARGET ${TARGET_NAME}
|
||||||
|
POST_BUILD
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy ${_LOCATED_DEP} "${ANDROID_APK_OUTPUT_DIR}/libs/${ANDROID_ABI}"
|
COMMAND ${CMAKE_COMMAND} -E copy ${_LOCATED_DEP} "${ANDROID_APK_OUTPUT_DIR}/libs/${ANDROID_ABI}"
|
||||||
)
|
)
|
||||||
list(REMOVE_ITEM _DEPS_LIST ${_LOCATED_DEP})
|
list(REMOVE_ITEM _DEPS_LIST ${_LOCATED_DEP})
|
||||||
|
|
|
@ -8,11 +8,7 @@
|
||||||
"ndk-host": "@ANDROID_NDK_HOST_SYSTEM_NAME@",
|
"ndk-host": "@ANDROID_NDK_HOST_SYSTEM_NAME@",
|
||||||
"target-architecture": "@ANDROID_ABI@",
|
"target-architecture": "@ANDROID_ABI@",
|
||||||
"application-binary": "@EXECUTABLE_DESTINATION_PATH@",
|
"application-binary": "@EXECUTABLE_DESTINATION_PATH@",
|
||||||
"android-app-name": "@ANDROID_APP_NAME@",
|
|
||||||
"android-package": "@ANDROID_APK_PACKAGE@",
|
|
||||||
"android-minimum-version": "@ANDROID_API_LEVEL@",
|
|
||||||
"android-target-version": "@ANDROID_API_LEVEL@",
|
|
||||||
"android-extra-libs": "@_DEPS@",
|
"android-extra-libs": "@_DEPS@",
|
||||||
"android-extra-plugins": "",
|
"android-extra-plugins": "",
|
||||||
"android-package-source-directory": "@ANDROID_APK_DIR@"
|
"android-package-source-directory": "@ANDROID_APK_BUILD_DIR@"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue