Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28388

Code model parsing for C++ files not working from docker container

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 10.0.0-beta1
    • Qt Creator 9.0.0-beta2
    • Docker
    • None
    • Linux
    • Linux/Yocto

    Description

      I am testing the QtCreator release 9.0.0_beta2 (and rc1) and have still problems with the editor when selecting a docker-based kit.

      Compiling the application works fine from the container, parsing of the QML files is also correct now, but still the c++ files are not parsed correctly. I am using a Ubuntu based docker image with Qt 6.4 installed.

       

      Is this a known issue, or something that is missing from my docker container? Everything in the container seems detected correctly:

      Starting auto-detection. This will take a while...
      
      
      Searching toolchains...
      Searching toolchains of type ICC
      Searching toolchains of type MinGW
      Searching toolchains of type GCC
      Found "docker://asvedberg%2fv1x00-sdk:2.1.0.0_qt-6.4.0/opt/V1X00/sysroots/x86_64-cclinuxsdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++"
      Found "docker://asvedberg%2fv1x00-sdk:2.1.0.0_qt-6.4.0/opt/V1X00/sysroots/x86_64-cclinuxsdk-linux/usr/bin/aarch64-poky-linux-musl/aarch64-poky-linux-musl-g++"
      Found "docker://asvedberg%2fv1x00-sdk:2.1.0.0_qt-6.4.0/opt/V1X00/sysroots/x86_64-cclinuxsdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc"
      Found "docker://asvedberg%2fv1x00-sdk:2.1.0.0_qt-6.4.0/opt/V1X00/sysroots/x86_64-cclinuxsdk-linux/usr/bin/aarch64-poky-linux-musl/aarch64-poky-linux-musl-gcc"
      Searching toolchains of type Clang
      Searching toolchains of type Custom
      Searching toolchains of type Android Clang
      Searching toolchains of type QCC
      4 new toolchains found.
      Searching for qmake executables...
      Found "docker://asvedberg%2fv1x00-sdk:2.1.0.0_qt-6.4.0/opt/Qt-6.4.0/bin/qmake"
      Found "docker://asvedberg%2fv1x00-sdk:2.1.0.0_qt-6.4.0/opt/VM/Qt-6.4.0/bin/qmake"
      
      
      Searching CMake binaries...
      Found "docker://asvedberg%2fv1x00-sdk:2.1.0.0_qt-6.4.0/opt/V1X00/sysroots/x86_64-cclinuxsdk-linux/usr/bin/cmake"
      Found "docker://asvedberg%2fv1x00-sdk:2.1.0.0_qt-6.4.0/usr/bin/cmake"
      Found "docker://asvedberg%2fv1x00-sdk:2.1.0.0_qt-6.4.0/bin/cmake"
      
      
      Searching debuggers...
      Found: "docker://asvedberg%2fv1x00-sdk:2.1.0.0_qt-6.4.0/opt/V1X00/sysroots/x86_64-cclinuxsdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gdb"
      Found: "docker://asvedberg%2fv1x00-sdk:2.1.0.0_qt-6.4.0/opt/V1X00/sysroots/x86_64-cclinuxsdk-linux/usr/bin/aarch64-poky-linux-musl/aarch64-poky-linux-musl-gdb"
      
      
      Searching Python binaries...
      Found "Python 3.10.4 on Docker Image "asvedberg/v1x00-sdk:2.1.0.0_qt-6.4.0" (6fee070dc788)" (docker://asvedberg%2fv1x00-sdk:2.1.0.0_qt-6.4.0/opt/V1X00/sysroots/x86_64-cclinuxsdk-linux/usr/bin/python3)
      Found "Python 3.8.10 on Docker Image "asvedberg/v1x00-sdk:2.1.0.0_qt-6.4.0" (6fee070dc788)" (docker://asvedberg%2fv1x00-sdk:2.1.0.0_qt-6.4.0/usr/bin/python3)
      Found "Python 3.8.10 on Docker Image "asvedberg/v1x00-sdk:2.1.0.0_qt-6.4.0" (6fee070dc788)" (docker://asvedberg%2fv1x00-sdk:2.1.0.0_qt-6.4.0/bin/python3)
      
      
      Registered kit Docker Image "asvedberg/v1x00-sdk:2.1.0.0_qt-6.4.0" (6fee070dc788)
      Docker daemon appears to be running.
      

       

      Attachments

        1. filenotFound.png
          filenotFound.png
          118 kB
        2. image-2022-11-17-14-36-31-663.png
          image-2022-11-17-14-36-31-663.png
          216 kB
        3. parsingerror.png
          parsingerror.png
          228 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            madwinter Marcus Tillmanns
            anders.svedberg Anders Svedberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes