title: Expected type-specifier before 'QSslSocket' in QT Application
body: <p>I am still fairly new to Qt, but I'd like to write a program that allows a user to send a small message via email.</p>
  
  <p>When I go to build my project I get errors like
  <code>expected type-specifier before 'QSslSocket'</code> and <code>'QSslSocket' was not declared in this scope</code>. I get these both when I try to compile my code and when I try to compile the demos from the git, so I don't think it is in my code.</p>
  
  <p>Looking into this issue I have seen that most solutions involve making sure that openssl is installed on the machine and that Qt was built with the openssl flag set in the configuration. I have ensured that I have openssl and libssl-dev installed and I just rebuilt my version of Qt using the openssl flag. Still no luck.</p>
  
  <p>In my project I have <code>QT += core network</code> added in my .pro file. I have <code>#include &lt;QtNetwork/QsslSocket&gt;</code> in my *.h file that requires it. </p>
  
  <p>As for my system, I am working on Ubuntu 14.04 LTS. I have Qt 4.8.6 installed (again with -openssl included in the config file). Openssl and libssl-dev are both at 1.0.1f-1ubuntu2.11.</p>
  
  <p>If you have any ideas they would be greatly appreciated!</p>