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

For named subdirs, qmake creates a Makefile it subsequently ignores

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.0.2
    • Build tools: qmake
    • None
    • Ubuntu 12.10, x64

    Description

      The attached test project uses a named subdir project:

      lib.file=lib/lib.pro
      SUBDIRS=lib
      

      (The naming is redundant here, but that's not relevant to the bug).

      Upon invocation of qmake -r, a file called Makefile.lib is created in <build dir>/lib/. Then, when calling make, the following happens:

      cd lib/ && ( test -f Makefile || /sda/home/christian/dev/qt5-stable-build/qtbase/bin/qmake /tmp/testproject/lib/lib.pro -o Makefile ) && make -f Makefile
      

      So qmake does not seem to be entirely aware of its own naming convention.

      Attachments

        1. testproject.tar.bz2
          0.3 kB
          Christian Kandeler
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            kandeler Christian Kandeler
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes