3

I created a QGIS project with four geopackage layers for an uni project. I made sure to include all four geopackage layers in the same folder as the QGIS project and then zipped it to send it to my friends. But once they try to open it QGIS shows a chart with my four layers and asks if they want to keep these unavailable layers.

I recreated the layers, checked the path etc. it just won't work.

I'm new to QGIS.

2
  • The solution by @MrXsquared should work. Still, a workaround would be to manuelly paste the path to the files in the dialog saying that layers are missing.
    – Babel
    Commented Aug 20, 2022 at 17:16
  • You could use the QPackage plugin to create a folder with the project and files which avoids path issues. Once sent there are easy fixes, including using the change Data Source plugin (which has lots of uses) or following any of the suggestions in the QGIS documentation for handling broken file paths: docs.qgis.org/3.22/en/docs/user_manual/introduction/…
    – John
    Commented Aug 20, 2022 at 18:22

1 Answer 1

5

Go to Project -> Properties -> General and make sure Save paths is set to relative:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.