forked from qt-creator/qt-creator
FilePath::setFromString failed previously for URLs without a path, e.g. "http://qt.io" as it would add the scheme and host to its path. Also added a test for various URLs Change-Id: I6c22489c0af7154734390aa1e5e12693864210b1 Reviewed-by: hjk <hjk@qt.io>