Details
-
Bug
-
Resolution: Duplicate
-
P4: Low
-
None
-
5.0.1
-
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.