Hi, I am trying to render some MathML code using QwtTextLabel, but though different parts of my equation get rendered where I would expect, the end result is still ugly and, in fact, useless.
I am pretty certain that I am missing something, but since there doesn't seem to be any Qwt example on how to do that, I am not sure what I am missing.
Basically, I did what is mentioned in the documentation, i.e.
From there, I just used QwtTextLabel as 'normal'. Anyway, attached are what I get using QwtTextLabel with QwtMathMLTextEngine as the text engine (Qwt.jpg), and then what I get using QtMmlWidget (QtMmlWidget.jpg).Qt Code:
#include <qwt_mathml_text_engine.h> To copy to clipboard, switch view to plain text mode
Anyway, I am trying to move from QtMmlWidget to Qwt, since the former is not maintained anymore. So, any help would be most appreciated.
Note #1: even QtMmlWidget doesn't do a superb job of rendering MathML code, but at least I am able to get something...
Note #2: even with the 'bad' rendering, I noticed that QwtTextLabel was rather slow (compared to QtMmlWidget), but maybe it's because I haven't got things to work the way they should...?
Bookmarks