Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9179299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:45:47+00:00 2026-06-17T17:45:47+00:00

I am making a GUI program using Qt4, under git source control ( Github

  • 0

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-

  1. To keep flex and bison files out of project and source control. Generate the C source files and add it to project.
  2. Add flex and bison files to project, but run flex and bison commands separately.
  3. Integrate properly with IDE (Qt Creator on Ubuntu 12.04) and source control, so that when I build the flex and bison is called to generate lexer and parser.

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T17:45:49+00:00Added an answer on June 17, 2026 at 5:45 pm

    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.

    enter image description here

    I asked a related question for this – Undefined reference error even though the functions are present

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a program in Java, using Swing, with a GUI that contains arrow
I am making a GUI program using gtkmm. I would like to draw some
I'm making a simple cross platform chat program. I'm using wXWidgets for the GUI
I`m making a GUI for my java program using Swing Components and Netbeans IDE.
I am using Java Netbeans GUI Builder for making GUI. I want to give
Hi im making a Gui programme using a null layout and a setBounds() method
I am making a GUI of Stack using Java. Here is my code private
I have written a Matlab GUI for my C program. I thought about using
hello I am very beginer of haskell I am making GUI program that open
I am making a WinForms program, which requires separate threads For readability and maintainability,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.