From 22f02396c0c83b5f6040379d9dc63714ff981e94 Mon Sep 17 00:00:00 2001 From: Alexander Boettcher Date: Thu, 9 Feb 2017 11:22:23 +0100 Subject: [PATCH] qt5: avoid cryptic messages if not prepared Fixes #2276 --- repos/libports/src/app/qt5/tmpl/target_defaults.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/repos/libports/src/app/qt5/tmpl/target_defaults.inc b/repos/libports/src/app/qt5/tmpl/target_defaults.inc index a3a42736d2..eccd801443 100644 --- a/repos/libports/src/app/qt5/tmpl/target_defaults.inc +++ b/repos/libports/src/app/qt5/tmpl/target_defaults.inc @@ -13,9 +13,13 @@ PROJECT_DIR_NAME = $(notdir $(abspath $(PRG_DIR))) QMAKE_PROJECT_FILE ?= $(realpath $(PRG_DIR)/$(PROJECT_DIR_NAME).pro) +ifneq ($(call select_from_ports,qoost),) +ifneq ($(call select_from_ports,qt5),) ifneq ($(strip $(QMAKE_PROJECT_FILE)),) include $(QMAKE_PROJECT_FILE) endif +endif +endif # how to name the generated executable # (if not already defined in the qmake project file)