Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 11.0.2
-
None
-
-
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
For Gerrit Dashboard: QTCREATORBUG-29523 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
498097,2 | SdkTool: Fix sysroot for docker devices | 11.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |