create qapplication to open files on osx