mirror of
https://github.com/QuasarApp/Hanoi-Towers.git
synced 2025-04-26 01:34:31 +00:00
initCommit
This commit is contained in:
parent
f64891f3f9
commit
742bb13ffc
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -16,3 +16,6 @@
|
|||||||
[submodule "HanoiTowers/client/Credits"]
|
[submodule "HanoiTowers/client/Credits"]
|
||||||
path = submodules/Credits
|
path = submodules/Credits
|
||||||
url = https://github.com/QuasarApp/Credits
|
url = https://github.com/QuasarApp/Credits
|
||||||
|
[submodule "submodules/QtAndroidTools"]
|
||||||
|
path = submodules/QtAndroidTools
|
||||||
|
url = https://github.com/QuasarApp/QtAndroidTools.git
|
||||||
|
@ -97,7 +97,13 @@ if (HANOI_CLIENT)
|
|||||||
add_subdirectory(submodules/SimpleQmlNotify)
|
add_subdirectory(submodules/SimpleQmlNotify)
|
||||||
add_subdirectory(submodules/ViewSolutions)
|
add_subdirectory(submodules/ViewSolutions)
|
||||||
add_subdirectory(submodules/Credits)
|
add_subdirectory(submodules/Credits)
|
||||||
|
|
||||||
|
if (ANDROID)
|
||||||
|
add_subdirectory(submodules/QtAndroidTools)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(HanoiTowers/client)
|
add_subdirectory(HanoiTowers/client)
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (HANOI_SERVER)
|
if (HANOI_SERVER)
|
||||||
|
@ -50,6 +50,8 @@ if (ANDROID)
|
|||||||
QmlNotyfyService)
|
QmlNotyfyService)
|
||||||
|
|
||||||
addDeployAPK(${CURRENT_PROJECT} "${CMAKE_CURRENT_LIST_DIR}/android" "digitalface" "${SIGN_PATH}/DigitalFaceMobily.keystore" "${SIGN_STORE_PASSWORD}" "${TARGET_DIR}" "${HANOI_EXTRA_LIBS}")
|
addDeployAPK(${CURRENT_PROJECT} "${CMAKE_CURRENT_LIST_DIR}/android" "digitalface" "${SIGN_PATH}/DigitalFaceMobily.keystore" "${SIGN_STORE_PASSWORD}" "${TARGET_DIR}" "${HANOI_EXTRA_LIBS}")
|
||||||
|
target_link_libraries(${CURRENT_PROJECT} PRIVATE QtAndroidTools)
|
||||||
|
|
||||||
else()
|
else()
|
||||||
# Desctop deploying
|
# Desctop deploying
|
||||||
addDeployFromCustomFile("Client" "${CMAKE_SOURCE_DIR}/Deploy/Client.json")
|
addDeployFromCustomFile("Client" "${CMAKE_SOURCE_DIR}/Deploy/Client.json")
|
||||||
|
@ -10,6 +10,12 @@
|
|||||||
|
|
||||||
<supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>
|
<supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>
|
||||||
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="-- %%INSERT_APP_NAME%% --" android:extractNativeLibs="true" android:icon="@drawable/icon">
|
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="-- %%INSERT_APP_NAME%% --" android:extractNativeLibs="true" android:icon="@drawable/icon">
|
||||||
|
|
||||||
|
<!-- Sample AdMob app ID: ca-app-pub-5799112356811682~1226170116 -->
|
||||||
|
<meta-data
|
||||||
|
android:name="com.google.android.gms.ads.APPLICATION_ID"
|
||||||
|
android:value="ca-app-pub-5799112356811682~1226170116"/>
|
||||||
|
|
||||||
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density" android:name="org.qtproject.qt5.android.bindings.QtActivity" android:label="-- %%INSERT_APP_NAME%% --" android:screenOrientation="landscape" android:launchMode="singleTop">
|
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density" android:name="org.qtproject.qt5.android.bindings.QtActivity" android:label="-- %%INSERT_APP_NAME%% --" android:screenOrientation="landscape" android:launchMode="singleTop">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN"/>
|
<action android:name="android.intent.action.MAIN"/>
|
||||||
|
@ -18,6 +18,7 @@ apply plugin: 'com.android.application'
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
|
||||||
|
implementation 'com.google.android.gms:play-services-ads:20.1.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
@ -71,6 +72,7 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
resConfig "en"
|
resConfig "en"
|
||||||
|
multiDexEnabled true
|
||||||
minSdkVersion = 22
|
minSdkVersion = 22
|
||||||
targetSdkVersion = 30
|
targetSdkVersion = 30
|
||||||
}
|
}
|
||||||
|
@ -9,3 +9,7 @@ org.gradle.jvmargs=-Xmx2048m
|
|||||||
# build with the same inputs. However, over time, the cache size will
|
# build with the same inputs. However, over time, the cache size will
|
||||||
# grow. Uncomment the following line to enable it.
|
# grow. Uncomment the following line to enable it.
|
||||||
#org.gradle.caching=true
|
#org.gradle.caching=true
|
||||||
|
|
||||||
|
android.useAndroidX=true
|
||||||
|
|
||||||
|
android.enableJetifier=true
|
||||||
|
1
submodules/QtAndroidTools
Submodule
1
submodules/QtAndroidTools
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit fb3474dd183727790294e600c07531c20af22eb6
|
Loading…
x
Reference in New Issue
Block a user