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

no qmake shadow build with subdirs outside of project root

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.6.3
    • Build tools: qmake
    • None

    Description

      The qmake shadow build does not work, when a subdir in a subdirs template pro file is not in the project root. it creates the makefile directly in the subdir and not in the shadow directory.

       

      howto reproduce:

      $ mkdir main
      $ mkdir external
      $ mkdir shad
      
      $ cat >> main/main.pro << EOF
      > TEMPLATE=subdirs
      > SUBDIRS += ../external
      > EOF
      
      $ touch external/external.pro
      
      $ cd shad
      $ qmake ../main/main.pro
      $ make qmake_all 
      cd ../external/ && /tftpboot/dcu_al/sdk/bin/qmake /tmp/bakke/external/external.pro -o Makefile
      cd ../external/ && make -f Makefile qmake_all
      make[1]: Entering directory /tmp/bakke/external
      make[1]: Nothing to be done for qmake_all.
      make[1]: Leaving directory /tmp/bakke/external
      
      $ ls
      Makefile
      
      $ ls ../external/
      external.pro  Makefile
      
      $ ls ../main/
      main.pro

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            segfault Jan M
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes