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

qmake SUBDIRS project incorrectly processes MAKEFILE specification

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4: Low
    • None
    • 5.0.1
    • Build tools: qmake
    • None
    • Tried with: qmake 3.0 on Linux x86; qmake 2.0.1 on Linux x86/ARM and Windows x86.

    Description

      If a SUBDIRS project references the sub-project using the "<subproject>.file" specification, rather than the "<subproject>.subdir" specification, a "MAKEFILE" override in the sub-project's ".pro" file is not honoured correctly.

      For example, if there is a SUBDIRS project, subdirs.pro, that uses:

      SUBDIRS = subproject
      subproject.file = subproject/subproject.pro

      and a sub-project below it, subproject.pro, that specifies:

      MAKEFILE=mysubproject.mak

      then a "qmake -r subdirs.pro" causes "mysubproject.mak.mysubproject" to be generated, rather than "mysubproject.mak".

      Example attached.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            chard Richard Hazlewood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes