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. Project tree: Show relative file paths
Forum Updated to NodeBB v4.3 + New Features

Project tree: Show relative file paths

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.1k Views 1 Watching
  • 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.
  • Chris_1981C Offline
    Chris_1981C Offline
    Chris_1981
    wrote on last edited by
    #1

    Using QtCreator 2.7.2

    I have the following a project structure:

    D:\Qt\projects_MyProductName*FirstProject*\FirstProject.pro
    D:\Qt\projects_MyProductName*CommonFiles*\Tools\headerfile.h

    I added "headerfile.h" to "FirstProject". Now the project tree shows under "Headers" the full (absolut) path to the "headerfile.h" under "Headers".
    This is very hard to read. Is it possible to show just the path relative to the project file? In my case this would be:

    ..\CommonFiles\Tools\headerfile.h

    This would be much better to read and smart.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MaxQwerty
      wrote on last edited by
      #2

      I think that this was made for avoid misunderstandings about phisical file path. It's usefull for searching in file system. But why don,t you want to include file into project folder? This way may be useful if you want to use a version control software.

      MaxQwerty

      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