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

Accidental leading spaces in build directory input field causes build to fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • Qt Creator 4.10.0-beta1
    • Qt Creator 4.1.0
    • None
    • Qt Creator 4.1.0
      Based on Qt 5.7.0 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 64 bit)
      Built on Aug 24 2016 14:58:22
      From revision 8c80a86266
    • be9bd1505b1b6984f8e5e6217c03803514d4fc61 (qt-creator/qt-creator/master)

    Description

      If you add a leading space to the build directory

       /tmp/untitled-qt5_dev_debug-Debug

      You get the following warning:

      The build directory needs to be at the same level as the source directory

      This could be easily avoided by trimming leading and trailing spaces from the field.

      It took me a while to spot what the problem was (I wasn't aware there was a leading space, as it was difficult to spot), and the warning (should probably be a build error rather than a warning) was not helpful.

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes