Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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



  • 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!


  • Lifetime Qt Champion

    Hi @Nesbit,

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

    Regards



  • 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.


Log in to reply