I am wondering how to use UTF8 charset correct with mysql.

I have a database which looks like
Qt Code:
  1. mysql> show create database Testdb;
  2. +----------+-----------------------------------------------------------------+
  3. | Database | Create Database |
  4. +----------+-----------------------------------------------------------------+
  5. | testdb | CREATE DATABASE `Testdb` /*!40100 DEFAULT CHARACTER SET utf8 */ |
  6. +----------+-----------------------------------------------------------------+
To copy to clipboard, switch view to plain text mode 

Then I have a table which looks like this one:
Qt Code:
  1. mysql> show create table Source;
  2. +--------+--------------
  3. | Table | Create Table
  4. +--------+----------------
  5. | Source | CREATE TABLE `Source` (
  6. `title` varchar(255) character set utf8 collate utf8_bin default NULL,
  7. ...
  8. `id` mediumint(9) NOT NULL auto_increment,
  9. PRIMARY KEY (`id`)
  10. ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 |
  11. +--------+--------------
To copy to clipboard, switch view to plain text mode 

So wherever I can, there is information to use UTF-8 as the character set.

When inserting german umlaut chars, I see those in the database with the expected coding. However, when I retrieve records with those umlauts, I see garbage characters in my Qt-Application instead of those umlauts.

So far I did not find any way to tell the Qt-Classes which charset the data from the queries holds, however I expected that the classes retrieve that information.

As it seems, I have set various flags for the database itself also to uft8
Qt Code:
  1. mysql> show variables like "%char%";
  2. +--------------------------+----------------------------+
  3. | Variable_name | Value |
  4. +--------------------------+----------------------------+
  5. | character_set_client | utf8 |
  6. | character_set_connection | utf8 |
  7. | character_set_database | utf8 |
  8. | character_set_filesystem | binary |
  9. | character_set_results | utf8 |
  10. | character_set_server | utf8 |
  11. | character_set_system | utf8 |
  12. | character_sets_dir | /usr/share/mysql/charsets/ |
  13. +--------------------------+----------------------------+
To copy to clipboard, switch view to plain text mode 

What did I miss? Any hints?

Thanks