I have to evaluate a simple expression introduced by the user into the search box, with following elements:

  1. Basic logical operators: AND and OR (with optional parenthesis)
  2. Basic arithmetic operators > , < , =
  3. My own variables (fields)


This is for a custom "search query language", the input will be a high level query, output will be an SQL query.

Does Qt has something that would help me , like a Qt Class parsing an expression in a custom format? If not , what libraries would you recommend me to use for this task?

TIA
Nulik