do not use QApplication & quit program once exporting finished.