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
Forum Updated to NodeBB v4.3 + New Features

QtCreator parser strange behaviour

Scheduled Pinned Locked Moved Solved Installation and Deployment
linuxqtcreatorparser
4 Posts 3 Posters 711 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 25 Nov 2020, 08:48 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

    J 1 Reply Last reply 25 Nov 2020, 08:52
    0
    • M magartor
      25 Nov 2020, 08:48

      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

      J Offline
      J Offline
      JonB
      wrote on 25 Nov 2020, 08:52 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 25 Nov 2020, 08:59 last edited by
        #3

        It works ! thanks :D

        A 1 Reply Last reply 25 Nov 2020, 09:15
        2
        • M magartor
          25 Nov 2020, 08:59

          It works ! thanks :D

          A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 25 Nov 2020, 09:15 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

          4/4

          25 Nov 2020, 09:15

          • Login

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