Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [Creator] Adding external tools - How to get relative file name?
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 761 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Asperamanca
    wrote on last edited by
    #1

    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)

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved