title: Set Qt default encoding to UTF-8
body: <p>In my Qt application my source code files are encoded as UTF-8. For the following code...</p>
  
  <pre><code>QMessageBox::critical(this, "Nepoznata pogreška", "Dogodila se nepoznata pogreška! Želite li zatvoriti ovaj program ?", QMessageBox::Yes, QMessageBox::No);
  </code></pre>
  
  <p>...when I show that message box, the character "š" wouldn't be displayed as "š", but as something strange. This is because Qt converts all C-strings as if they are encoded using LATIN-1. To solve this I've been using:</p>
  
  <pre><code>QMessageBox::critical(this, QString::fromUtf8("Nepoznata pogreška"), QString::fromUtf8("Dogodila se nepoznata pogreška! Želite li zatvoriti ovaj program ?"), QMessageBox::Yes, QMessageBox::No);
  </code></pre>
  
  <p>Is there a way to get rid of all the calls to <code>QString::fromUtf8()</code>?</p>