Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. What does "The code model not parse an included file, which might lead to incorrect completiton and highlighting" mean?
Qt 6.11 is out! See what's new in the release blog

What does "The code model not parse an included file, which might lead to incorrect completiton and highlighting" mean?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 3 Posters 2.1k 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.
  • PowerNowP Offline
    PowerNowP Offline
    PowerNow
    wrote on last edited by
    #1

    Hi,
    I just updated from Qt 5.12.1 to Qt 5.15.2 and with the example app "analogclock" I got the warning

    Warning: The code model not parse an included file, which might lead to incorrect completiton and highlighting, for example.
    processordetection.h:150:6: error: "ARM architecture too old"
    

    I read that with Qt 5.14.+ the Clang Frontend Plugin is activated. If I deactivate the Clang Code Model the warning goes away.

    But why does this warning occur and should I use th Clang Frontend Plugin or the Built in Model?

    1 Reply Last reply
    0
    • kkoehneK Offline
      kkoehneK Offline
      kkoehne
      Moderators
      wrote on last edited by
      #2

      You didn't write which Qt Creator version you're using (these are independent from the Qt versions).

      Anyhow, the warning is just a warning. Unless you experience problems you can safely ignore it.

      should I use th Clang Frontend Plugin or the Built in Model?

      The Built in model is faster to load, but less accurate. It also doesn't support some of the newer C++ syntax.

      Please try the latest Qt Creator versions if you face issues.

      Director R&D, The Qt Company

      1 Reply Last reply
      0
      • ekkescornerE Offline
        ekkescornerE Offline
        ekkescorner
        Qt Champions 2016
        wrote on last edited by
        #3

        got same warning.
        Qt 5.15.5. QtC 4.15.1, macOS 10.15.7 Catalina
        Desktop and iOS is OK, only happens on Android

        ekke ... Qt Champion 2016 | 2024 ... mobile business apps

        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