Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.6.3
-
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