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

Space in relative shadow build path causes source to not build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P4: Low P4: Low
    • None
    • Qt Creator 4.0.1
    • None
    • Windows 10, using MSVC15 32bit compiler, Qt 5.6.1 and Qt Creator 4.0.1 from online installer

      If there is a space in the relative path between the shadow build directory and the source directory then the user-created sources will not be built.

      Steps to reproduce:
      Create the following follwing path of folders:
      "C:\test\test2\folder with spaces"
      Create a project inside qt creator and place it in "folder with spaces" above.
      The following should be the default shadow build path:
      C:\test\test2\folder with spaces\build-qt_folder_bug-Desktop_Qt_5_6_1_MSVC2015_32bit-Debug

      Build the project, this will succeed.

      In project settings change the shadow build directory to
      C:\test\test2\build-qt_folder_bug-Desktop_Qt_5_6_1_MSVC2015_32bit-Debug

      Build the project, it will fail and complain that main.obj isn't found. No non-moc sources will be built.

        For Gerrit Dashboard: QTCREATORBUG-16430
        # Subject Branch Project Status CR V

            hunger Tobias Hunger
            andreasw Andreas Wass
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes