Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator shows error where there's none

QtCreator shows error where there's none

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 317 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.
  • J Offline
    J Offline
    Jaykobb
    wrote on last edited by
    #1

    Hello everyone !

    I've a strange problem and I do not find answers by myself.
    I code with QtCreator on a LinuxMint laptop and, with each i work on, QtCreator shows me error where there is none.
    a116ff3f-ed12-4a19-a289-98035194a3c2-image.png

    Look at this picture above. This is a whole new project for the example. I can build and execute the project properly but still, this is really annoying to have this kind of display while programming. I've opened the same project on a raspi just to see if I had the same display of error, but I had no error on the raspi.

    Does anybody has an idea why QtCreator is doing that on my laptop ?

    When i look "qtcreator -version" in the terminal it returns me "Qt Creator 4.11.0 based on Qt 5.12.8" and my distribution is "Linux Mint 20 Ulyana"

    Thanks for the help,
    Have a nice day

    JonBJ 1 Reply Last reply
    0
    • J Jaykobb

      Hello everyone !

      I've a strange problem and I do not find answers by myself.
      I code with QtCreator on a LinuxMint laptop and, with each i work on, QtCreator shows me error where there is none.
      a116ff3f-ed12-4a19-a289-98035194a3c2-image.png

      Look at this picture above. This is a whole new project for the example. I can build and execute the project properly but still, this is really annoying to have this kind of display while programming. I've opened the same project on a raspi just to see if I had the same display of error, but I had no error on the raspi.

      Does anybody has an idea why QtCreator is doing that on my laptop ?

      When i look "qtcreator -version" in the terminal it returns me "Qt Creator 4.11.0 based on Qt 5.12.8" and my distribution is "Linux Mint 20 Ulyana"

      Thanks for the help,
      Have a nice day

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

      @Jaykobb
      In move to Ubuntu 20.04 I had to apt get the Clang 9 version (I think sudo apt install clang-9?) to get rid of spurious Creator marks like this, assuming you're using the default parser of clang in your settings. Might need the same for Mint?

      1 Reply Last reply
      1
      • J Offline
        J Offline
        Jaykobb
        wrote on last edited by
        #3

        Hello !
        Thank you for your help :)
        I tried it and several others but nothing really worked. I ended up to purge every packages related to qt and made a whole new installation of QtCreator, so I don't really know where the problem came from.

        (Sorry for the laaaaate respond, I had no time to look up after that this month ^^')

        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