<div dir="ltr">QTConcurrent run is async call, I tested this case on linux and the GUI is closed while the main process waited for the exporting thread to finish. I don't know how this will take place on different platforms, may be one who is familiar with QTconcurrent can help.<br><br>I thought if I could just print the exporting status to the status bar "Main error message widget" but I don't know if this breaks the convention as this bar is expected to be for errors only?<br><div><br></div><div>regards,<br>Gehad</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 31, 2015 at 2:59 AM, Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, Jan 30, 2015 at 10:45:28PM +0200, Gehad Elrobey wrote:<br>
> libxml2 consumes the main thread time while formatting the xml document. So<br>
> I attached a patch that calls the export function in a new thread.<br>
><br>
> Now I am working on adding the progress bar functionality #785, but still<br>
> can't interface with libxml2.<br>
<br>
</div></div>What happens if the user quits after the export (but before the export is<br>
finished)?<br>
<span class="HOEnZb"><font color="#888888"><br>
/D<br>
<br>
</font></span></blockquote></div><br></div>