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

"The remote CMake executable cannot write to the local build directory" when trying to debug with Boot to Qt on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 17.0
    • Boot2Qt Support , Debugger
    • None

    Description

      macOS + Boot to Qt

      prerequisites: Docker Desktop

      Steps to reproduce:

      Install Boot to Qt toolchain and Qt Creator 17

      Add device to QtCreator via 'Devices'

      Open a Qt Quick application and set a breakpoint to main.cpp

      Check from 'Devices' -> 'Docker Image' -> 'Paths to mount' is not too deep in the directory tree. E.g. if the application is e.g. in /Users/user/RTA/quickapp, the mount path is not /Users/user/RTA/MyFancyBootToQtInstallationPath.

      Build the application and start debugging

      Expected result: Debugger gets started and hits the set breakpoint

      Actual result: Debugger does not necessarily start and a dialog saying:

      Found some build errors in the current task. Do you want to ignore them?

      and Issues tab shows:

      The remote CMake executable cannot write to the local build directory.

      See the screenshot attached.

      Reproduces randomly.

      Attachments

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

        Activity

          People

            con Eike Ziller
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes