working without QT