mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 12:26:59 +00:00
7b48e2aac0
This is needed since src/support calls lots of qt code, and some parts of it (e.g. QFileInfo) require a running event loop. This fixes bug #4917 which is a symptom of the problem. The fix is to create a QCoreApplication for tex2lyx, lyxclient and LyX running without GUI. In the future this could be extended, i.e. to split up the frontend Application class in a GUI and a console class, and having the console class use LyXConsoleApp in the same way as Application now uses GuiApplication. If that is done, one could also think of moving support/ConsoleApplication to frontend/console/ConsoleApplication. |
||
---|---|---|
.. | ||
test | ||
.gitignore | ||
boost.cpp | ||
CMakeLists.txt | ||
Context.cpp | ||
Context.h | ||
dummy_impl.cpp | ||
Makefile.am | ||
math.cpp | ||
Parser.cpp | ||
Parser.h | ||
pch.h | ||
Preamble.cpp | ||
Preamble.h | ||
table.cpp | ||
tex2lyx.1in | ||
tex2lyx.cpp | ||
tex2lyx.h | ||
text.cpp | ||
TODO.txt |