Hi. Since you are using Qt for LyX, I wonder, is there an easy way of using a (hopefully small) part of the LyX code to display LaTeX math formulas nicely in a ordinary Qt program?
Something like:
QLyXWidget* myWidget = new QLyXWidget("\\frac{3+x}{xy});
would be great.
