Build for Qt < 4.8.0: replace for QUrl::isLocalFile