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

Qt Creator 4.11, code model and warnings



  • Hi,

    Sometime around version 4.8, Qt Creator started being overly fastidious with detailed warnings; particularly on type casting. (I like the detailed warnings as it improves my coding.)

    After a few updates I'm now at 4.11 and just noticed that all the detailed warnings are gone. When I intentionally create code that should trigger warnings, they don't appear. (I have Qt 5.9.8, 5.12.6, 5.13.2 and 5.14 installed and the only warnings that appear are the use of functions deprecated in 5.14.)

    Any idea what's happened in the Qt Creator releases? The blog notes on the Qt Creator releases don't seem to help.

    (I'm on macOS.)

    M



  • @mjsmithers

    Did you check the installed creator plugins (Help->About plugins->C++)?
    The ClangCodeModel shall be checked. If not check it and restart creator.


  • Lifetime Qt Champion

    @mjsmithers

    At least you seem not the only one: QTCREATORBUG-23422 (and that might already be a duplicate - I haven't checked yet).

    Regards



  • Thanks everyone. Yes, ClangCodeModel is checked. Looks like we'll have to wait for an update.


Log in to reply