Answer the question
In order to leave comments, you need to log in
What parser for mathematical expressions on Qt would you recommend?
Tell me, please, some library that could be put into a Qt project without much difficulty. I tried to put muParser, but it doesn't work. Either diarrhea or scrofula with this library.
I need to be able to pass a string to a function (with a variable, constants, arithmetic operations, trigonometric functions and parentheses for precedence) that would return a value.
Answer the question
In order to leave comments, you need to log in
Egorithm , Great, now you have the *.a library file, the *.h include files, and the *.so shared library.
Tasks, in order of priority.
1. Force the program to compile, for this you need to register access to the *.h include-files in the project.
2. Force the program to link, for this you need to register access to *.a in the project (-lmuparser -L$$PWD).
3. Make the program run by dropping * .so where necessary.
Is writing yourself not an option? There should be 100 lines of code if you use math and stack.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question