2013-08-09 15:04:52 +02:00
|
|
|
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
|
|
|
|
|
|
|
include $(IMPORT_QT5_INC)
|
|
|
|
|
2017-05-24 20:02:19 +02:00
|
|
|
#
|
|
|
|
# Public QtGui headers include OpenGL headers
|
|
|
|
#
|
|
|
|
# We cannot just extend the 'LIBS' variable here because 'import-*.mk' are
|
|
|
|
# included (in 'base/mk/lib.mk') by iterating through the elements of the
|
2018-04-24 12:40:22 +02:00
|
|
|
# 'LIBS' variable. Hence, we need to manually import the mesa snippet.
|
2017-05-24 20:02:19 +02:00
|
|
|
#
|
2018-04-24 12:40:22 +02:00
|
|
|
include $(call select_from_repositories,lib/import/import-mesa_api.mk)
|
2017-05-24 20:02:19 +02:00
|
|
|
|
2018-04-24 12:40:22 +02:00
|
|
|
ifeq ($(CONTRIB_DIR),)
|
|
|
|
QT5_GUI_INC_DIR := $(realpath $(call select_from_repositories,include/QtGui)/..)
|
|
|
|
else
|
|
|
|
QT5_GUI_INC_DIR := $(QT5_PORT_DIR)/include
|
|
|
|
endif
|
|
|
|
|
|
|
|
QT5_INC_DIR += $(QT5_GUI_INC_DIR)
|
|
|
|
QT5_INC_DIR += $(QT5_GUI_INC_DIR)/QtGui
|
|
|
|
QT5_INC_DIR += $(QT5_GUI_INC_DIR)/QtGui/$(QT_VERSION)
|
|
|
|
QT5_INC_DIR += $(QT5_GUI_INC_DIR)/QtGui/$(QT_VERSION)/QtGui
|
|
|
|
QT5_INC_DIR += $(QT5_GUI_INC_DIR)/QtGui/$(QT_VERSION)/QtGui/private
|