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)