Congratulations to our 2022 Qt Champions!

[Creator] Adding external tools - How to get relative file name?

  • I have an external tool that does not support absolute file names.
    In the "external tools" configuration, I only found %{CurrentDocument:FilePath}, which expands to an absolute file name.

    How do I get the file name without path, or the file name relative to the project folder?

    (Creator 2.5.2)

Log in to reply