title: Cannot load HTML file with QWebEngineView.setHtml()
body: <p>The solution of my problem is probably very simple but yet out of my understanding. I am trying to load an HTML file into a QWebEngineView with PyQt5. The way I am doing it is:</p>
  
  <pre><code>self.webView = QtWebEngineWidgets.QWebEngineView(self.splitter)
  html = r"C:\DATI\git\webgis\map.html"
  self.webView.setHtml(html)
  </code></pre>
  
  <p>The only thing I get is a string representing the path and name of my HTML file:</p>
  
  <blockquote>
    <p>C:\DATI\git\webgis\map.html</p>
  </blockquote>
  
  <p>My <em>map.html</em> looks like this:</p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;Simple Map&lt;/title&gt;
      &lt;link rel="stylesheet" href="https://openlayers.org/en/v4.5.0/css/ol.css" type="text/css"&gt;
      &lt;!-- The line below is only needed for old environments like Internet Explorer and Android 4.x --&gt;
      &lt;script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"&gt;&lt;/script&gt;
      &lt;script src="https://openlayers.org/en/v4.5.0/build/ol.js"&gt;&lt;/script&gt;
      &lt;script src=".js/qwebchannel.js"&gt;&lt;/script&gt;
      &lt;style&gt;
          body { padding: 0; margin: 0; }
          html, body, #map { height: 100%; }
      &lt;/style&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;div id="map" class="map"&gt;&lt;/div&gt;
      &lt;script  src="./js/map.js"&gt;&lt;/script&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Strangely (to me at least), if I do <code>self.webView.setHtml("&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;h1&gt;ciao&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;")</code>, this will render the HTML properly.</p>
  
  <p>What am I missing?</p>