-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from janbar/android
Android
- Loading branch information
Showing
37 changed files
with
540 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,191 @@ | ||
cmake_minimum_required(VERSION 3.0) | ||
cmake_policy(SET CMP0026 OLD) # allow use of the LOCATION target property | ||
|
||
# store the current source directory for future use | ||
set(QT_ANDROID_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}) | ||
|
||
# check the JAVA_HOME environment variable | ||
# (I couldn't find a way to set it from this script, it has to be defined outside) | ||
set(JAVA_HOME $ENV{JAVA_HOME}) | ||
if(NOT JAVA_HOME) | ||
message(FATAL_ERROR "The JAVA_HOME environment variable is not set. Please set it to the root directory of the JDK.") | ||
endif() | ||
|
||
# make sure that the Android toolchain is used | ||
if(NOT ANDROID) | ||
message(FATAL_ERROR "Trying to use the CMake Android package without the Android toolchain. Please use the provided toolchain (toolchain/android.toolchain.cmake)") | ||
endif() | ||
|
||
# find the Qt root directory | ||
if(NOT Qt5Core_DIR) | ||
find_package(Qt5Core REQUIRED) | ||
endif() | ||
get_filename_component(QT_ANDROID_QT_ROOT "${Qt5Core_DIR}/../../.." ABSOLUTE) | ||
message(STATUS "Found Qt for Android: ${QT_ANDROID_QT_ROOT}") | ||
|
||
# find the Android SDK | ||
if(NOT QT_ANDROID_SDK_ROOT) | ||
set(QT_ANDROID_SDK_ROOT $ENV{ANDROID_SDK}) | ||
if(NOT QT_ANDROID_SDK_ROOT) | ||
message(FATAL_ERROR "Could not find the Android SDK. Please set either the ANDROID_SDK environment variable, or the QT_ANDROID_SDK_ROOT CMake variable to the root directory of the Android SDK") | ||
endif() | ||
endif() | ||
string(REPLACE "\\" "/" QT_ANDROID_SDK_ROOT ${QT_ANDROID_SDK_ROOT}) # androiddeployqt doesn't like backslashes in paths | ||
message(STATUS "Found Android SDK: ${QT_ANDROID_SDK_ROOT}") | ||
|
||
# find the Android NDK | ||
if(NOT QT_ANDROID_NDK_ROOT) | ||
set(QT_ANDROID_NDK_ROOT $ENV{ANDROID_NDK}) | ||
if(NOT QT_ANDROID_NDK_ROOT) | ||
set(QT_ANDROID_NDK_ROOT ${ANDROID_NDK}) | ||
if(NOT QT_ANDROID_NDK_ROOT) | ||
message(FATAL_ERROR "Could not find the Android NDK. Please set either the ANDROID_NDK environment or CMake variable, or the QT_ANDROID_NDK_ROOT CMake variable to the root directory of the Android NDK") | ||
endif() | ||
endif() | ||
endif() | ||
string(REPLACE "\\" "/" QT_ANDROID_NDK_ROOT ${QT_ANDROID_NDK_ROOT}) # androiddeployqt doesn't like backslashes in paths | ||
message(STATUS "Found Android NDK: ${QT_ANDROID_NDK_ROOT}") | ||
|
||
include(CMakeParseArguments) | ||
|
||
# define a macro to create an Android APK target | ||
# | ||
# example: | ||
# add_qt_android_apk(my_app_apk my_app | ||
# NAME "My App" | ||
# VERSION_CODE 12 | ||
# PACKAGE_NAME "org.mycompany.myapp" | ||
# PACKAGE_SOURCES ${CMAKE_CURRENT_LIST_DIR}/my-android-sources | ||
# BUILDTOOLS_REVISION "23.0.3" | ||
# KEYSTORE ${CMAKE_CURRENT_LIST_DIR}/mykey.keystore myalias | ||
# KEYSTORE_PASSWORD xxxx | ||
# DEPENDS a_linked_target "path/to/a_linked_library.so" ... | ||
# PLUGINS "path/to/plugin" ... | ||
# INSTALL | ||
#) | ||
# | ||
macro(add_qt_android_apk TARGET SOURCE_TARGET) | ||
|
||
# parse the macro arguments | ||
cmake_parse_arguments(ARG "INSTALL" "NAME;VERSION_CODE;PACKAGE_NAME;PACKAGE_SOURCES;KEYSTORE_PASSWORD;BUILDTOOLS_REVISION" "DEPENDS;PLUGINS;KEYSTORE" ${ARGN}) | ||
|
||
# extract the full path of the source target binary | ||
if(CMAKE_BUILD_TYPE STREQUAL "Debug") | ||
get_property(QT_ANDROID_APP_PATH TARGET ${SOURCE_TARGET} PROPERTY DEBUG_LOCATION) | ||
else() | ||
get_property(QT_ANDROID_APP_PATH TARGET ${SOURCE_TARGET} PROPERTY LOCATION) | ||
endif() | ||
|
||
# define the application name | ||
if(ARG_NAME) | ||
set(QT_ANDROID_APP_NAME ${ARG_NAME}) | ||
else() | ||
set(QT_ANDROID_APP_NAME ${SOURCE_TARGET}) | ||
endif() | ||
|
||
# define the application package name | ||
if(ARG_PACKAGE_NAME) | ||
set(QT_ANDROID_APP_PACKAGE_NAME ${ARG_PACKAGE_NAME}) | ||
else() | ||
set(QT_ANDROID_APP_PACKAGE_NAME org.qtproject.${SOURCE_TARGET}) | ||
endif() | ||
|
||
# set the Android SDK build-tools revision | ||
if(ARG_BUILDTOOLS_REVISION) | ||
set(QT_ANDROID_SDK_BUILDTOOLS_REVISION ${ARG_BUILDTOOLS_REVISION}) | ||
else() | ||
set(QT_ANDROID_SDK_BUILDTOOLS_REVISION "") | ||
endif() | ||
|
||
# define the application source package directory | ||
if(ARG_PACKAGE_SOURCES) | ||
set(QT_ANDROID_APP_PACKAGE_SOURCE_ROOT ${ARG_PACKAGE_SOURCES}) | ||
else() | ||
# get version code from arguments, or generate a fixed one if not provided | ||
set(QT_ANDROID_APP_VERSION_CODE ${ARG_VERSION_CODE}) | ||
if(NOT QT_ANDROID_APP_VERSION_CODE) | ||
set(QT_ANDROID_APP_VERSION_CODE 1) | ||
endif() | ||
|
||
# try to extract the app version from the target properties, or use the version code if not provided | ||
get_property(QT_ANDROID_APP_VERSION TARGET ${SOURCE_TARGET} PROPERTY VERSION) | ||
if(NOT QT_ANDROID_APP_VERSION) | ||
set(QT_ANDROID_APP_VERSION ${QT_ANDROID_APP_VERSION_CODE}) | ||
endif() | ||
|
||
# create a subdirectory for the extra package sources | ||
set(QT_ANDROID_APP_PACKAGE_SOURCE_ROOT "${CMAKE_CURRENT_BINARY_DIR}/package") | ||
|
||
# generate a manifest from the template | ||
configure_file(${QT_ANDROID_SOURCE_DIR}/AndroidManifest.xml.in ${QT_ANDROID_APP_PACKAGE_SOURCE_ROOT}/AndroidManifest.xml @ONLY) | ||
endif() | ||
|
||
# set the list of dependant libraries | ||
if(ARG_DEPENDS) | ||
foreach(LIB ${ARG_DEPENDS}) | ||
if(TARGET ${LIB}) | ||
# item is a CMake target, extract the library path | ||
if(CMAKE_BUILD_TYPE STREQUAL "Debug") | ||
get_property(LIB_PATH TARGET ${LIB} PROPERTY DEBUG_LOCATION) | ||
else() | ||
get_property(LIB_PATH TARGET ${LIB} PROPERTY LOCATION) | ||
endif() | ||
set(LIB ${LIB_PATH}) | ||
endif() | ||
if(EXTRA_LIBS) | ||
set(EXTRA_LIBS "${EXTRA_LIBS},${LIB}") | ||
else() | ||
set(EXTRA_LIBS "${LIB}") | ||
endif() | ||
endforeach() | ||
set(QT_ANDROID_APP_EXTRA_LIBS "\"android-extra-libs\": \"${EXTRA_LIBS}\",") | ||
endif() | ||
|
||
# set the list of dependant plugins | ||
if(ARG_PLUGINS) | ||
foreach(PLUGIN ${ARG_PLUGINS}) | ||
if(EXTRA_PLUGINS) | ||
set(EXTRA_PLUGINS "${EXTRA_PLUGINS},${PLUGIN}") | ||
else() | ||
set(EXTRA_PLUGINS "${PLUGIN}") | ||
endif() | ||
endforeach() | ||
set(QT_ANDROID_APP_EXTRA_PLUGINS "\"android-extra-plugins\": \"${EXTRA_PLUGINS}\",") | ||
endif() | ||
|
||
# make sure that the output directory for the Android package exists | ||
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/libs/${ANDROID_ABI}) | ||
|
||
# create the configuration file that will feed androiddeployqt | ||
configure_file(${QT_ANDROID_SOURCE_DIR}/qtdeploy.json.in ${CMAKE_CURRENT_BINARY_DIR}/qtdeploy.json @ONLY) | ||
|
||
# check if the apk must be signed | ||
if(ARG_KEYSTORE) | ||
set(SIGN_OPTIONS --release --sign ${ARG_KEYSTORE} --tsa http://timestamp.digicert.com) | ||
if(ARG_KEYSTORE_PASSWORD) | ||
set(SIGN_OPTIONS ${SIGN_OPTIONS} --storepass ${ARG_KEYSTORE_PASSWORD}) | ||
endif() | ||
endif() | ||
|
||
# check if the apk must be installed to the device | ||
if(ARG_INSTALL) | ||
set(INSTALL_OPTIONS --reinstall) | ||
endif() | ||
|
||
# specify the Android API level | ||
if(ANDROID_NATIVE_API_LEVEL) | ||
set(TARGET_LEVEL_OPTIONS --android-platform android-${ANDROID_NATIVE_API_LEVEL}) | ||
endif() | ||
|
||
# create a custom command that will run the androiddeployqt utility to prepare the Android package | ||
add_custom_target( | ||
${TARGET} | ||
ALL | ||
DEPENDS ${SOURCE_TARGET} | ||
COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_CURRENT_BINARY_DIR}/libs/${ANDROID_ABI} # it seems that recompiled libraries are not copied if we don't remove them first | ||
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/libs/${ANDROID_ABI} | ||
COMMAND ${CMAKE_COMMAND} -E copy ${QT_ANDROID_APP_PATH} ${CMAKE_CURRENT_BINARY_DIR}/libs/${ANDROID_ABI} | ||
COMMAND ${QT_ANDROID_QT_ROOT}/bin/androiddeployqt --verbose --output ${CMAKE_CURRENT_BINARY_DIR} --input ${CMAKE_CURRENT_BINARY_DIR}/qtdeploy.json --gradle ${TARGET_LEVEL_OPTIONS} ${INSTALL_OPTIONS} ${SIGN_OPTIONS} | ||
) | ||
|
||
endmacro() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0"?> | ||
<manifest android:versionName="@QT_ANDROID_APP_VERSION@" package="@QT_ANDROID_APP_PACKAGE_NAME@" android:installLocation="auto" xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="@QT_ANDROID_APP_VERSION_CODE@"> | ||
<application android:label="@QT_ANDROID_APP_NAME@" android:name="org.qtproject.qt5.android.bindings.QtApplication"> | ||
<activity android:label="@QT_ANDROID_APP_NAME@" android:name="org.qtproject.qt5.android.bindings.QtActivity" android:screenOrientation="unspecified" android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation"> | ||
<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:name="android.app.ministro_not_found_msg" android:value="@string/ministro_not_found_msg"/> | ||
<meta-data android:name="android.app.ministro_needed_msg" android:value="@string/ministro_needed_msg"/> | ||
<meta-data android:name="android.app.fatal_error_msg" android:value="@string/fatal_error_msg"/>--> | ||
</activity> | ||
</application> | ||
<supports-screens android:anyDensity="true" android:normalScreens="true" android:smallScreens="true" android:largeScreens="true"/> | ||
<uses-sdk android:minSdkVersion="18" android:targetSdkVersion="19"/> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> | ||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> | ||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
rm -rf build/* | ||
mkdir -p build | ||
cd build | ||
|
||
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/ | ||
export ANDROID_SDK=/Users/Shared/Android/Sdk | ||
export ANDROID_NDK=$ANDROID_SDK/ndk-bundle | ||
export QT_DIR=/Users/Shared/Qt/5.9.6/android_armv7 | ||
|
||
cmake ../.. -DCMAKE_SYSTEM_NAME=Android \ | ||
-DCMAKE_PREFIX_PATH=$QT_DIR \ | ||
-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake \ | ||
-DCMAKE_MAKE_PROGRAM=$ANDROID_NDK/prebuilt/darwin-x86_64/bin/make \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DANDROID_ABI="armeabi-v7a" \ | ||
-DANDROID_TOOLCHAIN_NAME="arm-linux-androideabi-4.9" \ | ||
-DANDROID_TOOLCHAIN_MACHINE_NAME="arm-linux-androideabi" \ | ||
-DANDROID_TOOLCHAIN_TOOL_PREFIX="arm-linux-androideabi" \ | ||
-DANDROID_COMPILER_VERSION="4.9" \ | ||
-DANDROID_NATIVE_API_LEVEL="android-16" \ | ||
-DQT_ANDROID_SDK_ROOT=$ANDROID_SDK \ | ||
-DQT_ANDROID_NDK_ROOT=$ANDROID_NDK \ | ||
-DQT_ANDROID_QT_ROOT=$QT_DIR \ | ||
-DQT_ANDROID_SDK_BUILDTOOLS_REVISION="21.0.0" \ | ||
-DQt5Core_DIR=$QT_DIR/lib/cmake/Qt5Core \ | ||
-DQt5Gui_DIR=$QT_DIR/lib/cmake/Qt5Gui \ | ||
-DQt5Qml_DIR=$QT_DIR/lib/cmake/Qt5Qml \ | ||
-DQt5Network_DIR=$QT_DIR/lib/cmake/Qt5Network \ | ||
-DQt5Quick_DIR=$QT_DIR/lib/cmake/Qt5Quick \ | ||
-DQt5QuickControls2_DIR=$QT_DIR/lib/cmake/Qt5QuickControls2 \ | ||
-DQt5Xml_DIR=$QT_DIR/lib/cmake/Qt5Xml \ | ||
-DQt5Svg_DIR=$QT_DIR/lib/cmake/Qt5Svg \ | ||
-DQt5Widgets_DIR=$QT_DIR/lib/cmake/Qt5Widgets \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
rm -rf build/* | ||
mkdir -p build | ||
cd build | ||
|
||
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/ | ||
export ANDROID_SDK=/Users/Shared/Android/Sdk | ||
export ANDROID_NDK=$ANDROID_SDK/ndk-bundle | ||
export QT_DIR=/Users/Shared/Qt/5.9.6/android_x86 | ||
|
||
cmake ../.. -DCMAKE_SYSTEM_NAME=Android \ | ||
-DCMAKE_PREFIX_PATH=$QT_DIR \ | ||
-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake \ | ||
-DCMAKE_MAKE_PROGRAM=$ANDROID_NDK/prebuilt/darwin-x86_64/bin/make \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DANDROID_ABI="x86" \ | ||
-DANDROID_TOOLCHAIN_NAME="x86-4.9" \ | ||
-DANDROID_TOOLCHAIN_MACHINE_NAME="x86" \ | ||
-DANDROID_TOOLCHAIN_TOOL_PREFIX="i686-linux-android" \ | ||
-DANDROID_COMPILER_VERSION="4.9" \ | ||
-DANDROID_NATIVE_API_LEVEL="android-16" \ | ||
-DQT_ANDROID_SDK_ROOT=$ANDROID_SDK \ | ||
-DQT_ANDROID_NDK_ROOT=$ANDROID_NDK \ | ||
-DQT_ANDROID_QT_ROOT=$QT_DIR \ | ||
-DQT_ANDROID_SDK_BUILDTOOLS_REVISION="21.0.0" \ | ||
-DQt5Core_DIR=$QT_DIR/lib/cmake/Qt5Core \ | ||
-DQt5Gui_DIR=$QT_DIR/lib/cmake/Qt5Gui \ | ||
-DQt5Qml_DIR=$QT_DIR/lib/cmake/Qt5Qml \ | ||
-DQt5Network_DIR=$QT_DIR/lib/cmake/Qt5Network \ | ||
-DQt5Quick_DIR=$QT_DIR/lib/cmake/Qt5Quick \ | ||
-DQt5QuickControls2_DIR=$QT_DIR/lib/cmake/Qt5QuickControls2 \ | ||
-DQt5Xml_DIR=$QT_DIR/lib/cmake/Qt5Xml \ | ||
-DQt5Svg_DIR=$QT_DIR/lib/cmake/Qt5Svg \ | ||
-DQt5Widgets_DIR=$QT_DIR/lib/cmake/Qt5Widgets \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0"?> | ||
<manifest android:versionName="1" package="io.github.janbar.noson" android:installLocation="auto" xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1"> | ||
<application android:label="noson" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:icon="@mipmap/ic_launcher"> | ||
<activity android:label="noson" android:name="org.qtproject.qt5.android.bindings.QtActivity" android:screenOrientation="unspecified" android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation"> | ||
<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:name="android.app.ministro_not_found_msg" android:value="@string/ministro_not_found_msg"/> | ||
<meta-data android:name="android.app.ministro_needed_msg" android:value="@string/ministro_needed_msg"/> | ||
<meta-data android:name="android.app.fatal_error_msg" android:value="@string/fatal_error_msg"/>--> | ||
</activity> | ||
</application> | ||
<supports-screens android:anyDensity="true" android:normalScreens="true" android:smallScreens="true" android:largeScreens="true"/> | ||
<uses-sdk android:minSdkVersion="18" android:targetSdkVersion="19"/> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> | ||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> | ||
</manifest> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"description": "This file is to be read by androiddeployqt", | ||
"qt": "@QT_ANDROID_QT_ROOT@", | ||
"sdk": "@QT_ANDROID_SDK_ROOT@", | ||
"ndk": "@QT_ANDROID_NDK_ROOT@", | ||
"sdkBuildToolsRevision": "@QT_ANDROID_SDK_BUILDTOOLS_REVISION@", | ||
"toolchain-prefix": "@ANDROID_TOOLCHAIN_MACHINE_NAME@", | ||
"tool-prefix": "@ANDROID_TOOLCHAIN_TOOL_PREFIX@", | ||
"toolchain-version": "@ANDROID_COMPILER_VERSION@", | ||
"ndk-host": "@ANDROID_NDK_HOST_SYSTEM_NAME@", | ||
"target-architecture": "@ANDROID_ABI@", | ||
"application-binary": "@QT_ANDROID_APP_PATH@", | ||
"android-package": "@QT_ANDROID_APP_PACKAGE_NAME@", | ||
"android-app-name": "@QT_ANDROID_APP_NAME@", | ||
@QT_ANDROID_APP_EXTRA_LIBS@ | ||
@QT_ANDROID_APP_EXTRA_PLUGINS@ | ||
"android-package-source-directory": "@QT_ANDROID_APP_PACKAGE_SOURCE_ROOT@" | ||
} |
Oops, something went wrong.