When I try to use virtual layers in QGIS, I'm unable to use relative paths.

I've already set in the "Project Properties", in the tab "General", the "Save paths" as relative.

You can see a screenshot to illustrate the issue.

Virtual layer absolute path only

Removing the absolute path "breaks" the virtual layer. For this reason, my *.qgs project is not portable...

How do you manage this use case? It's due to my way of doing, is it a feature, a missing feature or a bug?

Any advice to bypass this issue is welcome


author here. That has not been tested. You should file a bug report.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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