Make addImportPath() work for windows paths starting with lower case
authorBea Lam <bea.lam@nokia.com>
Fri, 11 Feb 2011 01:33:37 +0000 (11:33 +1000)
committerJason McDonald <jason.mcdonald@nokia.com>
Mon, 14 Feb 2011 14:02:36 +0000 (00:02 +1000)
commitd21432f721add7d74a1c9e6309aea53886e18eab
treeb4207d5bc67f947462f67e6d01b942260e9711c8
parent7708808ccc0637541f4cdf1c7370239a8d150d67
Make addImportPath() work for windows paths starting with lower case

Was causing assert failure on windows if the 'c:' was lower case,
since it was being added to the import path database with a lower
case and thus later lookups with an upper case 'c:' would fail.
This change fixes the check for whether the path refers to a
local path or not.

Task-number: QTBUG-16885
Change-Id: I0a2a2f705443ed453fb2b13f8599e035c2bd2877
Reviewed-by: Martin Jones
(cherry picked from commit 33512bc223be373975426ffcc6f8fa783a7582c9)
src/declarative/qml/qdeclarativeimport.cpp
tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp