2015-03-16 15:37:47 +01:00
|
|
|
# identify the qt repository by searching for a file that is unique for qt
|
2013-08-09 15:04:52 +02:00
|
|
|
QT5_REP_DIR := $(call select_from_repositories,lib/import/import-qt5.inc)
|
|
|
|
QT5_REP_DIR := $(realpath $(dir $(QT5_REP_DIR))../..)
|
|
|
|
|
|
|
|
include $(QT5_REP_DIR)/lib/mk/qt5_version.inc
|
|
|
|
|
2014-08-12 18:08:06 +02:00
|
|
|
QT5_PORT_DIR := $(call select_from_ports,qt5)
|
|
|
|
QT5_CONTRIB_DIR := $(QT5_PORT_DIR)/src/lib/qt5/$(QT5)
|
|
|
|
|
|
|
|
QMAKE_PROJECT_PATH = $(QT5_CONTRIB_DIR)/qtwebkit-examples/examples/webkitwidgets/previewer
|
2013-08-09 15:04:52 +02:00
|
|
|
QMAKE_PROJECT_FILE = $(QMAKE_PROJECT_PATH)/previewer.pro
|
|
|
|
|
|
|
|
vpath % $(QMAKE_PROJECT_PATH)
|
|
|
|
|
|
|
|
include $(QT5_REP_DIR)/src/app/qt5/tmpl/target_defaults.inc
|
|
|
|
|
|
|
|
include $(QT5_REP_DIR)/src/app/qt5/tmpl/target_final.inc
|