Project tree: Show relative file paths



  • 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.



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.