You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user selects a file via a QML based file picker or drag-and-drop interface, the returned object is often a QUrl. To use this file in Julia we need the raw local path.
I am able to decode the path successfully with URIs.jl; however, I am unable to properly handle the file prefix. On Windows, QML returns a URI in the format file:///path, whereas on other platforms it returns file://path.
I would prefer not to introduce an additional dependency for functionality that is already supported by this library.
Activity
barche commentedon Feb 13, 2026
This would be easy to add, but I think it would be more efficient to use the URIs.jl package for this?
rakeshksr commentedon Feb 14, 2026
I am able to decode the path successfully with URIs.jl; however, I am unable to properly handle the
fileprefix. On Windows, QML returns a URI in the formatfile:///path, whereas on other platforms it returnsfile://path.I would prefer not to introduce an additional dependency for functionality that is already supported by this library.
Add toLocalFIle method
Add toLocalFIle method