Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
Qt Creator 4.8.0-beta1
Description
When using a subdir project, setup like this:
TEMPLATE=subdirs app.file = app/stuff/app.pro subdirs += app lib.file = lib/stuff/lib.pro subdirs += lib
And lib.pro contains QMAKE_MAKEFILE = lib.mk
When asking QtC to build the 'lib' subdir (from project pane, contextual menu), then an error occured:
lib/stuff/Makefile: No such file or directory
Real log, using latest git master version of QtC:
17:21:22: Running steps for project MFDApp... 17:21:22: Starting: "/opt/qt511/bin/qmake" /home/chgans/Projects/nos/AIS/Builds/AIS.pro -spec linux-g++ CONFIG+=qml_debug CONFIG+=qtquickcompiler CONFIG+=force_debug_info CONFIG+=separate_debug_info 17:21:23: The process "/opt/qt511/bin/qmake" exited normally. 17:21:23: Starting: "/usr/bin/make" -f /home/chgans/tmp/build-MFDApp-Qt_5_11-Profile/AIS/Builds/Makefile qmake_all make: /home/chgans/tmp/build-MFDApp-Qt_5_11-Profile/AIS/Builds/Makefile: No such file or directory make: *** No rule to make target '/home/chgans/tmp/build-MFDApp-Qt_5_11-Profile/AIS/Builds/Makefile'. Stop. 17:21:23: The process "/usr/bin/make" exited with code 2. Error while building/deploying project MFDApp (kit: Qt 5.11) When executing step "qmake" 17:21:23: Elapsed time: 00:00.
Expected behaviour:
It should call the custom Makefile:
/usr/bin/make -f /home/chgans/tmp/build-MFDApp-Qt_5_11-Profile/AIS/Builds/AIS.mk qmake_all