How to render math formulas using MathML in Qwt (Qt)

335 views Asked by At

On Qwt-6.1.4 there is built-in library for MathML like qwt_mathml_text_engine.cpp And after writing such a code:

QwtPlot* plot = new QwtPlot(QwtText("<apply><sin/><ci>x</ci></apply>", QwtText::MathMLText));
ui->gridLayout->addWidget(plot);

There is no math special symbols in plot title.enter image description here

How to make it rendering formulas in proper way using MathML in Qwt?

0

There are 0 answers