PDA

View Full Version : QtCreator and paths in projects view



SilverHaze
7th January 2010, 14:22
Hello all. I've just installed QtCreator 1.2.1 under Ubuntu. And i have a problem.

So I have a small project with files:

main.cpp
lib/dosmth.h
lib/dosmth.cpp


But project tree:

http://img502.imageshack.us/img502/7610/projecttree.png

How i can watch relative paths in Project tree (to see lib folder)?

But then I switch to Filesystem view i can see lib folder:

http://img262.imageshack.us/img262/2126/filetree.png

http://img35.imageshack.us/img35/6534/libfolder.png

axeljaeger
19th January 2010, 21:26
This is not supported by QtCreator. All files in a project file will be merged into one hierarchy. Sources that get added to the project with a project include file (.pri) are shown in a subdir.

But do not care too much about it: Switch files not using the tree view but using Ctrl+K <filename>. This much faster when you have a lot of files.