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

Docker doesn't work with spaces in file names

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 10.0.0-beta1
    • Qt Creator 9.0.0-rc1
    • Docker
    • None
    • macOS
    • 75b43de14a (qt-creator/qt-creator/master)

    Description

      When projects have spaces in it's file name, docker builds fail with

      Running docker://boot2qt-raspberrypi4-64:6.5.0/opt/toolchain/sysroots/aarch64-pokysdk-linux/usr/bin/cmake -S '/Users/samuli.piippo/Qt/Qt Examples/coffee' -B '/Users/samuli.piippo/Qt/Qt Examples/build-coffee-Boot2Qt_6_5_0_Raspberry_Pi_4_64_bit-Debug' -DCMAKE_GENERATOR:STRING=Ninja -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_SYSROOT:PATH=/opt/toolchain/sysroots/cortexa72-poky-linux -DCMAKE_C_COMPILER_TARGET:STRING=aarch64-poky-linux -DCMAKE_CXX_COMPILER_TARGET:STRING=aarch64-poky-linux -DCMAKE_CXX_COMPILER:STRING=/opt/toolchain/sysroots/aarch64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -DCMAKE_C_COMPILER:STRING=/opt/toolchain/sysroots/aarch64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc -DCMAKE_PREFIX_PATH:STRING=/opt/toolchain/sysroots/cortexa72-poky-linux/usr -DQT_QMAKE_EXECUTABLE:STRING=/opt/toolchain/sysroots/aarch64-pokysdk-linux/usr/bin/qmake -DCMAKE_TOOLCHAIN_FILE:FILEPATH=/opt/toolchain/sysroots/aarch64-pokysdk-linux/usr/lib/cmake/Qt6/qt.toolchain.cmake -DCMAKE_MAKE_PROGRAM:FILEPATH=/opt/toolchain/sysroots/aarch64-pokysdk-linux/usr/bin/ninja -DCMAKE_CXX_FLAGS_INIT:STRING= in docker://boot2qt-raspberrypi4-64:6.5.0/Users/samuli.piippo/Qt/Qt Examples/build-coffee-Boot2Qt_6_5_0_Raspberry_Pi_4_64_bit-Debug.
      /bin/sh: 1: cd: can't cd to /Users/samuli.piippo/Qt/Qt

      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:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes