Remove some trailing whitespaces
Qt5: toAscii -> toLatin1
Qt5: new QUrl-API
Qt5: Enable buildsystem to build against Qt4 and Qt5