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. Qt creator: "The code model could not parse an included file..."
Forum Updated to NodeBB v4.3 + New Features

Qt creator: "The code model could not parse an included file..."

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 3 Posters 6.1k 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.
  • N Offline
    N Offline
    Nesbit
    wrote on last edited by aha_1980
    #1

    Hello,

    I have updated Qt Creator to the latest version (4.7.0) and now I have this warning when opening my projects:

    Warning: The code model could not parse an included file, which might lead to slow or incorrect code completion and highlighting, for example
        xmmintrin.h:818:1: error: definition of builtin function '_mm_getcsr'
        emmintrin.h:1:1: note: in file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/emmintrin.h:1:
        emmintrin.h:31:10: note: in file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/emmintrin.h:31:
    

    Is this a bug and how to fix this please? I'm on Ubuntu 16.04.
    Thank you very much in advance!

    aha_1980A 1 Reply Last reply
    0
    • N Nesbit

      Hello,

      I have updated Qt Creator to the latest version (4.7.0) and now I have this warning when opening my projects:

      Warning: The code model could not parse an included file, which might lead to slow or incorrect code completion and highlighting, for example
          xmmintrin.h:818:1: error: definition of builtin function '_mm_getcsr'
          emmintrin.h:1:1: note: in file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/emmintrin.h:1:
          emmintrin.h:31:10: note: in file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/emmintrin.h:31:
      

      Is this a bug and how to fix this please? I'm on Ubuntu 16.04.
      Thank you very much in advance!

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

      Hi @Nesbit,

      that looks like QTCREATORBUG-20903 which should be fixed in 4.7.1

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      2
      • G Offline
        G Offline
        guyuming
        wrote on last edited by
        #3

        i am using Qt Creator version 4.11.1
        i enabled the Autotoolsprojectmanager plugin
        i open the xrdp project cloned from the github
        i see this warning if i open project through Makefile.am, it says that config_ac.h file cannot be found, but the file is just located in project root folder.

        Then i open the project through Makefile, its ok now.

        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