add Qt, delete "user code"
changing current state from winapi to Qt