nope didn't help. Maybe this helps. So this is what my actual directory looks like:
Package | | --- lib | | --- folder1 | | ----- foo.h foo.c CMakeLists.txt --- folder2 | | ----- bar.h bar.c CMakeLists.txt Projects | | --- Project1 | | ----- src | | ---- main.c CMakeLists.txt I open up CMakeLists.txt in ./Projects/Project1/src/CMakeLists.txt and then I get bunch of ../../../ in the project tree for 'foo.c', 'foo.h', 'bar.c' and 'bar.h' On Wed, Apr 18, 2012 at 11:01 AM, Konstantin Tokarev <annu...@yandex.ru>wrote: > > 18.04.2012, 21:58, "Mohammad Mirzadeh" <mirza...@gmail.com>: > > You see with qmake, it nicely puts all files belonging to a folder > inside one branch with the absolute path but with my CMake it seems to use > relative paths and so I get lots of "../../../" branches! Is there a way to > fix this? > > Are you running Qt Creator from command line? If so, try to do cd `pwd -P` > than re-launch it and compare. > > -- > Regards, > Konstantin >
_______________________________________________ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator