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

wrong sys root path with docker toolchain

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • Qt Creator 11.0.3
    • Qt Creator 11.0.2
    • Docker
    • None
    • macOS
    • b96802b3e (11.0)

    Description

      Docker toolchain installation has Kit registration with sdktool as:

      addKit --id embedded.b2qt.660.raspberrypi464.toolchain --name Boot2Qt 6.6.0 Raspberry Pi 4 64-bit --mkspec linux-oe-g++ --qt embedded.b2qt.660.raspberrypi464.toolchain --debuggerid embedded.b2qt.660.raspberrypi464.toolchain --sysroot docker://boot2qt-raspberrypi4-64:6.6.0/opt/toolchain/sysroots/cortexa72-poky-linux --devicetype QdbLinuxOsType --builddevice embedded.b2qt.660.raspberrypi464.toolchain --Ctoolchain ProjectExplorer.ToolChain.Gcc:embedded.b2qt.660.raspberrypi464.toolchain.gcc --Cxxtoolchain ProjectExplorer.ToolChain.Gcc:embedded.b2qt.660.raspberrypi464.toolchain.g++ --cmake embedded.b2qt.660.raspberrypi464.toolchain --cmake-generator Ninja --cmake-config CMAKE_CXX_COMPILER:STRING=%{Compiler:Executable:Cxx} --cmake-config CMAKE_C_COMPILER:STRING=%{Compiler:Executable:C} --cmake-config CMAKE_PREFIX_PATH:STRING=%{Qt:QT_INSTALL_PREFIX} --cmake-config QT_QMAKE_EXECUTABLE:STRING=%{Qt:qmakeExecutable} --cmake-config CMAKE_TOOLCHAIN_FILE:FILEPATH=/opt/toolchain/sysroots/aarch64-pokysdk-linux/usr/lib/cmake/Qt6/qt.toolchain.cmake --cmake-config CMAKE_MAKE_PROGRAM:FILEPATH=/opt/toolchain/sysroots/aarch64-pokysdk-linux/usr/bin/ninja 
      

      where sysroot is

      --sysroot docker://boot2qt-raspberrypi4-64:6.6.0/opt/toolchain/sysroots/cortexa72-poky-linux
      

      but on QtCreator, the sysroot is set incorrectly with single forward slash

      docker:/boot2qt-raspberrypi4-64:6.6.0/opt/toolchain/sysroots/cortexa72-poky-linux
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            madwinter Marcus Tillmanns
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes