Le 06/01/15 22:15, Georg Baum a écrit :
some parts of qt like QFileInfo depend on the qt event loop being started (see e.g. http://www.lyx.org/trac/ticket/4917). Since we use especially QFileInfo a lot in src/support, we must start the event loop in all cases (for client, for tex2lyx and batch mode of LyX), and not only if a gui is used. Actually, this should have been done a long time ago when this code was introduced in src/support.
Yes.
The attached patch is a first start, demonstrating how to do it for LyX batch mode. If nobody objects I'll put this in and extend it to tex2lyx and client. The latter is also the reason why the ConsoleApplication class is in src/support, and another class is derived from it.
Doesn't this belong to frontend/console? JMarc