Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-84980

qmake error if working dir ends with ".lnk"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • 5.12.8
    • Build tools: qmake
    • None
    • Windows

      qmake will error out (error-level 1) if running from a working directory whose name ends with ".lnk"

      D:\dev\tests> mkdir foo.lnk
      D:\dev\tests> cd foo.lnk
      D:\dev\tests\foo.lnk> echo SOURCES += foo.cpp > foo.pro
      D:\dev\tests\foo.lnk> \lib\Qt\5.12.8\msvc2017_64\bin\qmake
      Usage: \lib\Qt\5.12.8\msvc2017_64\bin\qmake [mode] [options] [files]
      ...

      D:\dev\tests\foo.lnk> echo %ERRORLEVEL%
      1

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

            qtbuildsystem Qt Build System Team
            mecfc Miguel Costa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes