⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)
Qt Creator: Minimise file path in "Project View". How?
-
Hello all!
Is there any way to minimise file path in Qt Creator? In the *.pro file it's using relative path, but in Qt Creator "Project view" showing full path. Look on image below. Sometimes it's taking almost full screen length.
-
Hi,
What version of Qt Creator are you using ?
-
-
@sgaist It was on Qt Creator on 4.9 and it's happening on newest 4.10. In *.pro file relative path from the project root. The *.pro file might be taken from this example
-
I think the problem is that you use relative paths outside the project file directory:
SOURCES += \ ../UniversalSources/TestClass/atestclass.cpp \
Honestly, I'd restructure such a project so all files are below a specific pro file.
Regards
-
@aha_1980 I know why the problem is. The question was about Qt Creator ability - "Is there any way to minimise file path in Qt Creator?"
-
Hi
As far as I know, you cannot ask Creator to show less of the path.
You can use a .PRI file to include the outside files and only get the full path listed once.
the files under it will show base names.
-
If you create a bugreport, please add a link here, so others can follow: QTCREATORBUG-22910
Thanks!