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

Visual Studio generator generates incorrect SUBDIR dependencies when linked LIBS are not case-correct

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.7.1, 5.9.4
    • Build tools: qmake
    • None
    • Qt 5.7
      Visual Studio 2015

    Description

      See the attached sample project, which build correctly with qmake.

      When creating a VS project with qmake -spec win32-msvc2015 -tp vc -r, the dependencies are not preserved (MyApp doesn't depend on MyLib). This breaks the build, because MyApp may get built (and linked) before MyLib is built.

      Correcting the LIBS line in MyLib.pri to read -lMyLib (instead of -lmylib) generates correct dependencies.

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              VersalEszett Julius Bullinger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes