OSDN Git Service

Utils: New class to map installed file path to source path
authorKai Koehne <kai.koehne@nokia.com>
Wed, 1 Dec 2010 15:09:08 +0000 (16:09 +0100)
committerKai Koehne <kai.koehne@nokia.com>
Wed, 1 Dec 2010 15:54:32 +0000 (16:54 +0100)
commit1e86df719135c93e70f73c3a30db356acdaabb6c
treec8bb144c74dd13fcc53d26467e5555302f52f028
parent801c8bb6d4141d6dbb70e933a7dc6ddf135c8327
Utils: New class to map installed file path to source path

FileInProjectFinder implements an heuristic to find the likely source
file for an aribrary file path, e.g. in the shadow build folder or
on the device. This is useful especially for .qml files, which are
executed at runtime.

Reviewed-by: con
src/libs/utils/fileinprojectfinder.cpp [new file with mode: 0644]
src/libs/utils/fileinprojectfinder.h [new file with mode: 0644]
src/libs/utils/utils-lib.pri
src/plugins/qmljsinspector/qmljsinspector.cpp
src/plugins/qmljsinspector/qmljsinspector.h
src/plugins/qt4projectmanager/qtoutputformatter.cpp
src/plugins/qt4projectmanager/qtoutputformatter.h