qmake ExtraCompilerTargets: deal with file name which contains space

Task-number: QTBUG-27629
Change-Id: I6d6c3345cc1bb0a866524df3a1534ed50fc00f3e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
(cherry picked from qtbase/b340e40f9185d2f4ec59ce3313447419580fe6ee)
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
BB10 systemProxyForQuery: query system proxy also for non-URL requests

... like e.g. in QAbstractSocket::connectToHost().
We can set the scheme on the query URL based on well-known ports; even
if the port is not well-known, we can just query the URL anyhow and let
the netstatus API resolve the right proxy for us.

In addition, return early for local schemes like "file" and "qrc".

Task-number: QTBUG-29425
(cherry picked from commit 28d526db74c50977215133159e565e7c15fd18e3)

Change-Id: I40a4865aa7765aad9145e956c0069e78c54670e7
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>