Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Cannot inlcude includes ??

    Tools
    3
    3
    134
    Loading More Posts
    • 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.
    • A
      AnneRanch last edited by

      This post is deleted!
      JonB 1 Reply Last reply Reply Quote 0
      • JonB
        JonB @AnneRanch last edited by

        @AnneRanch
        The warnings tell you despite the #includes it doesn't know what class MainWindow is. That in turn comes from the banner message at the top, telling you the code "could not parse" some included file(s), for whatever reason.

        Either you have some error in one of the two #included files (maybe the Show Details button would tell.)

        Or, if you have upgraded to Ubuntu 20.04 recently(?), the version of clang --- used for Creator's Code Model --- supplied with the OS is not up-to-date enough for Creator. You will have clang 8, but you need clang 9. I think the command is sudo apt install clang-9, then exit & re-enter Creator and all will be good.

        1 Reply Last reply Reply Quote 2
        • Christian Ehrlicher
          Christian Ehrlicher Lifetime Qt Champion last edited by

          Just a small issue in the code model or in mainwindow.h - tooling problem.

          Qt has to stay free or it will die.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post