Skip to content

Commit

Permalink
Merged platform/android branch
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLazarescu committed Apr 1, 2024
1 parent dab4888 commit f7bc8cb
Show file tree
Hide file tree
Showing 165 changed files with 2,063 additions and 49 deletions.
11 changes: 11 additions & 0 deletions resources.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -401,5 +401,16 @@
<file>resources/images/check_circle_green_icon.svg</file>
<file>resources/images/info_circle_icon.svg</file>
<file>resources/images/light_mode/sidebar/settings_icon.svg</file>
<file>resources/images/mobile/arrow_left.svg</file>
<file>resources/images/mobile/folder.svg</file>
<file>resources/images/mobile/profile.svg</file>
<file>resources/images/mobile/brush.svg</file>
<file>resources/images/mobile/sign_out.svg</file>
<file>resources/images/mobile/library.svg</file>
<file>resources/images/mobile/server.svg</file>
<file>resources/images/mobile/explore.svg</file>
<file>resources/images/mobile/refresh.svg</file>
<file>resources/images/mobile/diamond.svg</file>
<file>resources/images/mobile/gear.svg</file>
</qresource>
</RCC>
4 changes: 4 additions & 0 deletions resources/images/mobile/arrow_left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/images/mobile/brush.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/images/mobile/diamond.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/images/mobile/explore.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/images/mobile/folder.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/images/mobile/gear.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/images/mobile/library.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/images/mobile/profile.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/images/mobile/refresh.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions resources/images/mobile/server.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/images/mobile/sign_out.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Configuration
set(QML_IMPORT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/presentation/modules ${CMAKE_CURRENT_BINARY_DIR}/" CACHE STRING "Qml modules")

if(ANDROID)
set(QML_IMPORT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/presentation/mobile/modules CACHE STRING "Qml modules" FORCE)
else()
set(QML_IMPORT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/presentation/desktop/modules CACHE STRING "Qml modules" FORCE)
endif()

# Language
set(CMAKE_CXX_STANDARD 20)
Expand Down Expand Up @@ -47,7 +50,6 @@ if(ANDROID)
list(APPEND CUSTOM_ANDROID_EXTRA_LIBS "${PROJECT_SOURCE_DIR}/libs/mupdf/build/shared-debug/libmupdf.so")
list(APPEND CUSTOM_ANDROID_EXTRA_LIBS "${PROJECT_SOURCE_DIR}/libs/mupdf/build/shared-debug/libmupdfcpp.so")
string(REPLACE ";" "," CUSTOM_ANDROID_EXTRA_LIBS_STRING "${CUSTOM_ANDROID_EXTRA_LIBS}")

set_property(TARGET librum PROPERTY QT_ANDROID_EXTRA_LIBS
${ANDROID_SDK_ROOT}/android_openssl/ssl_3/arm64-v8a/libcrypto_3.so
${ANDROID_SDK_ROOT}/android_openssl/ssl_3/arm64-v8a/libssl_3.so
Expand Down
Loading

0 comments on commit f7bc8cb

Please sign in to comment.