mirror of
https://github.com/lubosz/overte.git
synced 2025-04-11 06:32:09 +02:00
temporary removal of VRLib requirement
This commit is contained in:
parent
01ca47b68f
commit
b25a2a1918
2 changed files with 9 additions and 9 deletions
|
@ -6,7 +6,7 @@
|
|||
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="@string/AppDisplayName" android:icon="@drawable/icon">
|
||||
|
||||
<!-- VR MODE -->
|
||||
<meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_dual"/>
|
||||
<!-- <meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_dual"/> -->
|
||||
|
||||
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation"
|
||||
android:name="org.qtproject.qt5.android.bindings.QtActivity"
|
||||
|
@ -47,11 +47,11 @@
|
|||
<!-- Splash screen -->
|
||||
</activity>
|
||||
|
||||
<activity android:name="com.oculusvr.vrlib.PlatformActivity"
|
||||
<!-- <activity android:name="com.oculusvr.vrlib.PlatformActivity"
|
||||
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
|
||||
android:launchMode="singleTask"
|
||||
android:screenOrientation="landscape"
|
||||
android:configChanges="screenSize|orientation|keyboardHidden|keyboard">
|
||||
android:configChanges="screenSize|orientation|keyboardHidden|keyboard"> -->
|
||||
</activity>
|
||||
|
||||
</application>
|
||||
|
|
|
@ -19,12 +19,12 @@ set(ANDROID_API_LEVEL 19)
|
|||
set(ANDROID_APK_PACKAGE io.highfidelity.gvrinterface)
|
||||
|
||||
# we need VRLib, so add a project.properties to our apk build folder that says that
|
||||
find_path(_OCULUS_VRLIB_DIR NAME VRLib.vcxproj HINTS "/ovr_mobile_sdk/VRLib/")
|
||||
if (NOT _OCULUS_VRLIB_DIR)
|
||||
message(FATAL_ERROR "Could not find Oculus Mobile SDK VRLib.")
|
||||
endif()
|
||||
# find_path(_OCULUS_VRLIB_DIR NAME VRLib.vcxproj HINTS "/ovr_mobile_sdk/VRLib/")
|
||||
# if (NOT _OCULUS_VRLIB_DIR)
|
||||
# message(FATAL_ERROR "Could not find Oculus Mobile SDK VRLib.")
|
||||
# endif()
|
||||
|
||||
file(RELATIVE_PATH RELATIVE_VRLIB_PATH ${ANDROID_APK_OUTPUT_DIR} "${_OCULUS_VRLIB_DIR}")
|
||||
file(WRITE "${ANDROID_APK_BUILD_DIR}/project.properties" "android.library.reference.1=${RELATIVE_VRLIB_PATH}")
|
||||
# file(RELATIVE_PATH RELATIVE_VRLIB_PATH ${ANDROID_APK_OUTPUT_DIR} "${_OCULUS_VRLIB_DIR}")
|
||||
# file(WRITE "${ANDROID_APK_BUILD_DIR}/project.properties" "android.library.reference.1=${RELATIVE_VRLIB_PATH}")
|
||||
|
||||
qt_create_apk()
|
Loading…
Reference in a new issue