Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QtCreator parser strange behaviour
QtWS25 Last Chance

QtCreator parser strange behaviour

Scheduled Pinned Locked Moved Solved Installation and Deployment
linuxqtcreatorparser
4 Posts 3 Posters 685 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.
  • M Offline
    M Offline
    magartor
    wrote on last edited by aha_1980
    #1

    Hello everyone,

    I am trying to use Qt under linux. I get weird bahaviour from the parser :
    a3f0b8a0-2d9f-4e79-8e21-1d2eb33d802c-image.png
    It seems to don't reconize Qt object and also std object (has cout).

    My ubuntu version is :

    Distributor ID : Ubuntu
    Description : Ubuntu 20.04.1 LTS
    Release 20.04
    Codename focal
    

    Qt version : 5.12.8
    Qt Creator 4.11.0

    Here is the project configuration used :
    06fa9456-8821-4e0b-9d19-6e5f5f4f8b67-image.png

    How can I fix the parser ? or at least disable it ?

    Sincerely,

    Magarto

    JonBJ 1 Reply Last reply
    0
    • M magartor

      Hello everyone,

      I am trying to use Qt under linux. I get weird bahaviour from the parser :
      a3f0b8a0-2d9f-4e79-8e21-1d2eb33d802c-image.png
      It seems to don't reconize Qt object and also std object (has cout).

      My ubuntu version is :

      Distributor ID : Ubuntu
      Description : Ubuntu 20.04.1 LTS
      Release 20.04
      Codename focal
      

      Qt version : 5.12.8
      Qt Creator 4.11.0

      Here is the project configuration used :
      06fa9456-8821-4e0b-9d19-6e5f5f4f8b67-image.png

      How can I fix the parser ? or at least disable it ?

      Sincerely,

      Magarto

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @magartor
      By default Qt Creator uses the clang parser when you edit, though that can be altered. From Ubuntu 20.04 onward you now need to install sudo apt-get install libclang-common-8-dev.

      1 Reply Last reply
      5
      • M Offline
        M Offline
        magartor
        wrote on last edited by
        #3

        It works ! thanks :D

        aha_1980A 1 Reply Last reply
        2
        • M magartor

          It works ! thanks :D

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi @magartor,

          thanks for the feedback. So please mark this topic as SOLVED. Thanks!

          Qt has to stay free or it will die.

          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