title: Read utf8 file to QString in Qt
body: <p>How can I read an entire UTF-8 encoded file to a QString in Qt, and is there a one-liner similar to <a href="https://stackoverflow.com/a/7387108/492336">C#'s</a> <code>string contents = File.ReadAllText(@"C:\temp\test.txt");</code></p>