Skip to content

Death to input#4103

Merged
tomasMizera merged 10 commits intodev/2025.7.0from
death-to-input
Oct 9, 2025
Merged

Death to input#4103
tomasMizera merged 10 commits intodev/2025.7.0from
death-to-input

Conversation

@Withalion
Copy link
Contributor

Some more work to switch from Input to Mergin Maps in code

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕵️‍♂️

@PeterPetrik
Copy link
Contributor

fixes #4118

@tomasMizera tomasMizera linked an issue Oct 1, 2025 that may be closed by this pull request
@Withalion Withalion marked this pull request as ready for review October 6, 2025 14:32
@Withalion
Copy link
Contributor Author

Should be ready for review now. Maybe I forgot to change something, but I don't know.

@Withalion Withalion self-assigned this Oct 6, 2025
@github-actions
Copy link

github-actions bot commented Oct 8, 2025

Pull Request Test Coverage Report for Build 18345087329

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 154 unchanged lines in 27 files lost coverage.
  • Overall coverage decreased (-0.2%) to 19.472%

Files with Coverage Reduction New Missed Lines %
mm/app/attributes/attributeformmodel.h 1 0.0%
mm/app/attributes/attributetabmodel.h 1 0.0%
mm/app/fieldsmodel.h 1 0.0%
mm/app/identifykit.h 1 0.0%
mm/app/inputprojutils.h 1 50.0%
mm/app/inpututils.cpp 1 53.17%
mm/app/ios/iosimagepicker.h 1 0.0%
mm/app/layer/layertreeflatmodel.h 1 0.0%
mm/app/layer/layertreemodel.h 1 0.0%
mm/app/layer/layertreesortfiltermodel.h 1 0.0%
Totals Coverage Status
Change from base Build 18221222417: -0.2%
Covered Lines: 13817
Relevant Lines: 70959

💛 - Coveralls

Copy link
Contributor

@PeterPetrik PeterPetrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

Comment on lines -382 to -403
if (ANDROID)
if (VCPKG_TARGET_TRIPLET STREQUAL "arm-android")
set(CMAKE_C_FLAGS
"${CMAKE_C_FLAGS} -fPIC -fstack-protector-strong -lunwind -Wl,--exclude-libs=libunwind.a"
)
set(CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -fPIC -fstack-protector-strong -lunwind -Wl,--exclude-libs=libunwind.a"
)
else ()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -fstack-protector-strong")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -fstack-protector-strong")
endif ()

link_libraries("-ljnigraphics")

# Make sure the generator for android_deployment_settings.json can figure out the
# architecture
list(APPEND CMAKE_FIND_ROOT_PATH /)

# set(ANDROID_PACKAGE_SOURCE_DIR ${CMAKE_BINARY_DIR}/android-template)
endif ()

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this is removed and what does it have with renaming of input -> mm?

Comment on lines -421 to -439

# ########################################################################################
# RESOURCES
# ########################################################################################
message(STATUS "Copying proj and qgis resources to android/assets/qgis-data")
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/app/android/assets/qgis-data/resources)
file(COPY ${QGIS_RESOURCE_DIR}/qgis.db
DESTINATION ${CMAKE_BINARY_DIR}/app/android/assets/qgis-data/resources/
)
file(COPY ${QGIS_RESOURCE_DIR}/srs.db
DESTINATION ${CMAKE_BINARY_DIR}/app/android/assets/qgis-data/resources/
)
file(
COPY ${PROJ_DIR}
DESTINATION ${CMAKE_BINARY_DIR}/app/android/assets/qgis-data/
PATTERN "*.cmake" EXCLUDE
PATTERN "vcpkg*" EXCLUDE
)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this is removed and what does it have with renaming of input -> mm?

@Withalion
Copy link
Contributor Author

@PeterPetrik the mentioned code deletion has actually nothing to do with renaming Mergin Maps. It's part of this commit where I was removing duplicate code after I probably screwed up rebasing vcpkg branch before we merged it into dev/2025.7.0

@tomasMizera tomasMizera added this to the 2025.7.0 milestone Oct 9, 2025
Copy link
Collaborator

@tomasMizera tomasMizera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge and see Image

@tomasMizera tomasMizera merged commit ea018a1 into dev/2025.7.0 Oct 9, 2025
9 checks passed
@tomasMizera tomasMizera deleted the death-to-input branch October 9, 2025 15:25
@PeterPetrik
Copy link
Contributor

Let's merge and see Image

that if Friday attitude !

tomasMizera added a commit that referenced this pull request Oct 31, 2025
* Target android 15 (#4010)

* Remove dep on mobile-sdk (Hello vcpkg) (#3811)

Remove dependency on mobile-sdk and system Qt via building of all Mergin Maps deps libraries (QGIS, GDAL, Proj, Qt, and others) by vcpkg system. Changes to CI GitHub workflows, asset management and shared files for platforms. Fixed windows and linux builds.

* Fix error dump on quit from QML components (#4104)

* Fix/diagnostic log copy able (#4120)

* Fix windows EOF breaking preview

* Refactor AttributePreviewController

* Add new formats for Exiv2 library (#4125)

* Merge pull request #4129 from MerginMaps/fix/haptic-vibration

Fix haptic vibration

* Fix android CI (#4122)

* Fix android CI

* Update version to 2025.7.0

* Fix apk size

* Death to input (#4103)

* Fix ios crash not crash (#4131)

* Fix the double deletion of Qml Engine

* Fix formatting & Clazy warning

* Fix forgotten ndk path variable (#4150)

* Fix android missing proj & qgis resources on android (#4155)

* Sign AABs too

---------

Co-authored-by: Peter Petrik <zilolv@gmail.com>
Co-authored-by: Kaustuv Pokharel <85729205+kaustuvpokharel@users.noreply.github.com>
Co-authored-by: Tomas Mizera <tomas.mizera@lutraconsulting.co.uk>
gabriel-bolbotina pushed a commit that referenced this pull request Nov 19, 2025
gabriel-bolbotina pushed a commit that referenced this pull request Nov 25, 2025
gabriel-bolbotina pushed a commit that referenced this pull request Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect name of App displayed in Diagnostic Log

3 participants