Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator 4.11, code model and warnings

Qt Creator 4.11, code model and warnings

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 326 Views 1 Watching
  • 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.
  • M Offline
    M Offline
    mjsmithers
    wrote on last edited by
    #1

    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

    K aha_1980A 2 Replies Last reply
    0
    • M mjsmithers

      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

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @mjsmithers

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

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      4
      • M mjsmithers

        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

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

        @mjsmithers

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

        Regards

        Qt has to stay free or it will die.

        1 Reply Last reply
        3
        • M Offline
          M Offline
          mjsmithers
          wrote on last edited by
          #4

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

          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