Aurélien, while writing the code sample in question, it turned out, that I forgot to include the icon.png file in my qrc resources file. After adding the icon file to the qt4 resources file, the icon showed up and everything worked as expected.
Kind regards and thanks for your patience.
Aurélien, while writing the code sample in question, it turned out,
that I forgot to include the icon.png file in my qrc resources file.
After adding the icon file to the qt4 resources file, the icon showed
up and everything worked as expected.
Kind regards and thanks for your patience.