qt5: avoid cryptic messages if not prepared

Fixes #2276
This commit is contained in:
Alexander Boettcher 2017-02-09 11:22:23 +01:00 committed by Norman Feske
parent 15957a2d3d
commit 22f02396c0

View File

@ -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)