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

qmake error if working dir ends with ".lnk"

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: