You should add your html and image files to a qrc (a Qt resource), and thus compile them into the app. Then you can use QWebView's load method to load the resource like this:
QWebView view;
view.load(QUrl(":/myIndex.html");
You can read more about resources here.