Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[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