title: How do I display local HTML in QWebview?
body: <p>I suspect this is so basic that no one bothered to document it.</p>
  
  <p>I want to write an HTML file from my program, and then load that file into a QWebview object.</p>
  
  <p>When I have QtCreator open, I can navigate to the file in the URL block on the right and it displays within QtCreator.  When I compile and run the program, the window is white and blank.</p>
  
  <p>I also don't want the directory hardcoded, I want it to use the current directory.</p>
  
  <p>So I guess there are two questions:</p>
  
  <ol>
  <li>How do I write the ??? in the following to get the QWebview object named "reportView" to display my local file?</li>
  </ol>
  
  <hr>
  
  <pre><code>ui-&gt;reportView-&gt;load(QUrl("???"));
  </code></pre>
  
  <hr>
  
  <ol start="2">
  <li>Why does the QWebview object remain blank?  I suspect a problem connecting to Google Docs because I get this error:</li>
  </ol>
  
  <hr>
  
  <pre><code>QSslSocket: cannot call unresolved function SSLv23_client_method
  QSslSocket: cannot call unresolved function SSL_CTX_new
  QSslSocket: cannot call unresolved function SSL_library_init
  QSslSocket: cannot call unresolved function ERR_get_error
  </code></pre>
  
  <p>Thank you.</p>