Removed dependence on Qt