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

Creator doesn't detect anything inside docker

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 5.0.0-beta1
    • Docker
    • None
    • Ubuntu 21.04
    • Linux/X11

    Description

      Qt Creator does not detect compilers or qmake inside docker container

      For example I have container https://hub.docker.com/layers/atom63/qt-docker/qemu_linux-qt5-armv7a-static-cmake-conan/images/sha256-82a36fc1091114673118417fabc67eb85fa2efbdc96206ed57874e999f00e7cf?context=repo&tab=layers recipe is here https://github.com/Jihadist/qt-docker/blob/master/qemu/linux-qt5-armv7a-static-cmake-conan/Dockerfile

       

      Container Debian Buster with clang-11 (without link to /usr/bin/clang), gcc 8.3, qt 5.15.2 with qmake in $PATH, cmake latest

      user@61f178e533ea:~$ clang-11 --version
      Debian clang version 11.0.1-2~bpo10+1
      Target: armv7l-unknown-linux-gnueabihf
      Thread model: posix
      InstalledDir: /usr/bin 
      
      user@61f178e533ea:~$ gcc --version 
      gcc (Debian 8.3.0-6) 8.3.0
      
      user@61f178e533ea:~$ qmake --version
      QMake version 3.1
      Using Qt version 5.15.2 in /opt/Qt/lib
      
      user@61f178e533ea:~$ cmake --version
      cmake version 3.21.0-rc1
      

      But detection log said me i have nothing:

      Removing kit: Docker Image "conan" (4488e708b948)
      Tool chains not removed.
      Removal of previously auto-detected kit items finished.
      
      Starting auto-detection. This will take a while...
      
      Searching tool chains...
      Searching tool chains of type ICC
      Searching tool chains of type MinGW
      Searching tool chains of type GCC
      Searching tool chains of type Clang
      Searching tool chains of type Custom
      Searching tool chains of type IAREW
      Searching tool chains of type KEIL
      Searching tool chains of type SDCC
      0 new tool chains found.
      
      Searching Qt installations...
      Searching for qmake-qt6 executable...
      Searching for qmake-qt5 executable...
      Searching for qmake executable...
      No Qt installation found.
      
      Searching CMake binary...
      
      Searching debuggers...
      
      Registered kit Docker Image "conan" (4488e708b948)
      

      My local docker images:

      ubuntu@ubuntu:~$ docker images
      REPOSITORY         TAG                                        IMAGE ID       CREATED        SIZE
      atom63/qt-docker   qemu_linux-qt5-armv7a-static-cmake-conan   4488e708b948   12 days ago    3GB
      conan              latest                                     4488e708b948   12 days ago    3GB
      

      After all I see broken kit

      Attachments

        1. image-2021-07-08-13-23-21-445.png
          179 kB
          Anton 0xNULL
        2. image-2021-07-09-11-14-02-386.png
          66 kB
          Anton 0xNULL
        3. qtversions.png
          78 kB
          hjk

        Activity

          People

            madwinter Marcus Tillmanns
            atom-tc Anton 0xNULL
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: