Explicitely set qApp before/after calling exec_().
Explicitely setPage to None in WebView's __del__.