qmlplugindump: Fix --path usage with drive letters on Windows.
authorChristian Kamm <christian.d.kamm@nokia.com>
Thu, 28 Apr 2011 10:22:30 +0000 (12:22 +0200)
committerChristian Kamm <christian.d.kamm@nokia.com>
Thu, 28 Apr 2011 10:27:00 +0000 (12:27 +0200)
commit3904e604f453b43b2a0e45a882283e26a27eaa18
tree70f8cf50b48959fc784453159934429b2d7470f4
parent6e2e4894159da51ab3413b8a0bb9c8ba615f0b7c
qmlplugindump: Fix --path usage with drive letters on Windows.

Since we can't import by such a path, we instead use a "." import
and set the uri of the component to the correct path.

Mirrors a change to qmldump in
qt-creator/0c8b4e38fab1862e3427aac7e7db68623bc7f174

Reviewed-by: Thomas Hartmann
tools/qmlplugindump/main.cpp