set qcoreapplication settings at startup