Skip to content

Fix reading Mergin project settings saved from QGIS 4.0 to 3.x#905

Open
JanCaha wants to merge 4 commits intomasterfrom
fix-mm-settings-from-qgis-4.0
Open

Fix reading Mergin project settings saved from QGIS 4.0 to 3.x#905
JanCaha wants to merge 4 commits intomasterfrom
fix-mm-settings-from-qgis-4.0

Conversation

@JanCaha
Copy link
Copy Markdown
Contributor

@JanCaha JanCaha commented Apr 24, 2026

QGIS 4.0 changed for project settings are saved (the XML structure). If you open project saved in 4.0 in any 3.xx the project settings will be lost. What this does is that if you open qgz project from version 4.0 in QGIS older then 4.0 it reads the xml qgs file in qgz, parses it, extracts all the Mergin project settings and resave so that they are compatabile with older versions.

Not an ideal solution as it may lead to bit of ping-pong with project files, changing them back and forth, but quite likely the easiest way to fix the issue.

Fixes #904

JanCaha and others added 4 commits April 24, 2026 16:01
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.

Project saved in QGIS 4.0 loses all MM plugin settings when opened in QGIS 3.44 (backward compatibility broken)

1 participant