Examples ported to Qt5