Does the same qml file work when called with qmlviewer?

By the way, you can pass a remote url to QDeclarativeView::setSource() and the file will be downloaded automatically if available.