Important: Please read the Qt Code of Conduct  https://forum.qt.io/topic/113070/qtcodeofconduct
how to parse a Math Equation from string to expression?

how to parse a Math Equation from string to expression?
eg.i got this strinig from UI: "a+bcd/e+f3+10012", how can i get the expression(which means a+bcd/e+f3+10012 in code), can later, i can just caculate this equation whenver i want: int x = a+bcd/e+f3+100*12;


If you wish to correctly parse expressions, then this book you need to read: CompilersPrinciplesTechniquesAlfredAho