Port of Qt Samples to use Cascades