I am making a GUI program using Qt4, under git source control (Github page). Small part of project requires scanning and parsing. So I want to use flex and bison with the project. I can think of 3 ways-
I obviously want third option, but have no idea how to do it.
Please suggest the best option and the way to do it. Or there is any other way to do it?
Note - I want the project to be cross platform, to build for Windows as well.
By following the link in @Bort's comment I was able to integrate Flex and Bison with my Qt project nicely. I added custom build steps in project settings. Below is the screenshot in Qt Creator.
I asked a related question for this - Undefined reference error even though the functions are present
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With