QWebView no carga javascript externo?

¿Es posible cargar un archivo javascript externo desde el html usando QWebView?

En el siguiente QtProject (todos los archivos en el mismo directorio) hay un código javascript directamente dentro del html y también en un archivo externo. Me falta el comportamiento externo al cargarlo en QWebView (en el navegador funciona bien):

MyApp.pro

QT       += core gui webkitwidgets

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = MyApp
TEMPLATE = app
DESTDIR = ./

SOURCES += main.cpp

HEADERS  +=

main.cpp

#include <QApplication>
#include <QtWebKitWidgets>
#include <QFile>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QWebView *view = new QWebView;
    view->show();

    QFile file("qt.html");

    if (!file.open(QIODevice::ReadOnly | QIODevice::Text))
        return -1;

    QString html = QTextStream(&file).readAll();
    view->setHtml(html);

    return a.exec();
}

qt.html

<html>

<head>
  <script type="text/javascript" src="qt.js">
  </script>
</head>

<body onload="hello()">

Test..


<script>
    alert("Hello World INTERNAL!");
</script>

</body>
</html> 

qt.js

function hello() {
    alert("Hello World EXTERNAL!");
}

Respuestas a la pregunta(3)

Su respuesta a la pregunta