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

Qt Creator highlighting with CMake and add_compile_option preprocessor experimental



  • Hi :).

    I am having some hjighlighting issues using Qt Creator 4.9.2.
    When I use this option into my CMakeList, the highlighting does not work at all (nor the auto completion) and I don't understand why...

            add_compile_options(/experimental:preprocessor /permissive-)
    

    Without the /experimental:preprocessor, it works perfectly well.

    After some investigation, it is from clang code model...


Log in to reply