Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Docker plugin compiles project, but Qt Creator complain about lots of parse issues.
QtWS25 Last Chance

Docker plugin compiles project, but Qt Creator complain about lots of parse issues.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 1 Posters 243 Views
  • 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.
  • S Offline
    S Offline
    SebastianM
    wrote on 28 Apr 2022, 06:48 last edited by SebastianM
    #1

    I successfully created docker image, was able to manually run it and compile qmake and CMake based project inside.
    I included Docker plugin from Utilities branch. Added new device (docker based) and auto-detect kit.
    Build command send from Qt Creator (hammer icon) executed successfully.
    Even running output binary worked fine.

    Only problem - lots of parse issue in Editor panel.
    My current setup is executed on desktop where all needed libraries and includes are present -so I have confirmation that Qt Creator didn't have problem with those parse issues.

    How to solve them? How to tell C++ model to be updated/parsed properly? What am I missing?

    PS: I faced similar problem when I created kit for cross-compilation for embedded system. Project compiled and executed (on target) cleanly, but Qt Creator complained about lots of missing or undeclared elements.

    Qt Creator 7, Qt 5.15, Debian testing, gcc 9

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SebastianM
      wrote on 29 Apr 2022, 13:41 last edited by SebastianM
      #2

      When I opened C++ Code Model Inspector (Tools-> Debug Qt Creator -> Inspect C++ Code Model ...) , then tab Snapshots and Documents.
      Then in Global/Indexing snapshot or Current Editor's Snapshot showed that ... <vector> is red/unrecognized, QFile, QJsonObject or QObject also.

      In other main tab of this panel - Project Paths, eg. subTab Header paths I see paths leading to places with QtCore includes. So paths from Code model lead to existing locations with QObject or QFile or QJson... But Qt Creator claims there are missing.

      1 Reply Last reply
      0

      2/2

      29 Apr 2022, 13:41

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved