Recreating solution with QT