use Qstring instead of char*