Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. FLex including <iostream.h>
Forum Updated to NodeBB v4.3 + New Features

FLex including <iostream.h>

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
3 Posts 3 Posters 682 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • _ Offline
    _ Offline
    _ove_
    wrote on last edited by
    #1

    Hello
    I've tried to use FLex with Qt, but FLex generated file insist to inlude <iostream.h>. Qt recognize only <iostream>. How do I get around this problem? Seems that <iostream> and <iostream.h> are two different files.

    Ove

    jsulmJ W 2 Replies Last reply
    0
    • _ _ove_

      Hello
      I've tried to use FLex with Qt, but FLex generated file insist to inlude <iostream.h>. Qt recognize only <iostream>. How do I get around this problem? Seems that <iostream> and <iostream.h> are two different files.

      Ove

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @_ove_ said in FLex including <iostream.h>:

      Qt recognize only <iostream>

      It's compiler, not Qt.
      What compiler do you use?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • _ _ove_

        Hello
        I've tried to use FLex with Qt, but FLex generated file insist to inlude <iostream.h>. Qt recognize only <iostream>. How do I get around this problem? Seems that <iostream> and <iostream.h> are two different files.

        Ove

        W Offline
        W Offline
        wokerjrvm
        wrote on last edited by
        #3

        @_ove_ Hey, how r u doing? To keep flex and bison files out of project and source control. Generate the C source files and add it to project. Add flex and bison files to project, but run flex and bison commands separately. 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.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved