2018-04-24 10:40:22 +00:00
|
|
|
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
|
|
|
|
|
|
|
include $(IMPORT_QT5_INC)
|
2017-07-26 12:46:22 +00:00
|
|
|
|
|
|
|
SHARED_LIB = yes
|
|
|
|
|
|
|
|
include $(REP_DIR)/lib/mk/qt5_qtvirtualkeyboardplugin_generated.inc
|
|
|
|
|
|
|
|
QT_DEFINES += -UQT_STATICPLUGIN
|
|
|
|
|
|
|
|
include $(REP_DIR)/lib/mk/qt5.inc
|
|
|
|
|
2018-04-24 10:40:22 +00:00
|
|
|
LIBS += qt5_core qt5_gui qt5_qml qt5_quick qt5_svg
|
2017-07-26 12:46:22 +00:00
|
|
|
|
2018-04-24 10:40:22 +00:00
|
|
|
# install the Qt plugin
|
2017-07-26 12:46:22 +00:00
|
|
|
|
2018-04-24 10:40:22 +00:00
|
|
|
QT_PLUGIN_NAME := qt5_qtvirtualkeyboardplugin
|
|
|
|
QT_PLUGIN_INSTALL_DIR := qt/plugins/platforminputcontexts
|
|
|
|
QT_PLUGIN := $(QT_PLUGIN_INSTALL_DIR)/$(QT_PLUGIN_NAME).lib.so
|
|
|
|
TAR_ARCHIVE := $(BUILD_BASE_DIR)/bin/$(QT_PLUGIN_NAME).tar
|
2017-07-26 12:46:22 +00:00
|
|
|
|
|
|
|
vpath % $(QT5_CONTRIB_DIR)/qtvirtualkeyboard/src/virtualkeyboard/content
|
|
|
|
vpath % $(QT5_CONTRIB_DIR)/qtvirtualkeyboard/src/virtualkeyboard/content/styles/retro
|
|
|
|
vpath % $(QT5_CONTRIB_DIR)/qtvirtualkeyboard/src/virtualkeyboard/content/styles/default
|
|
|
|
|
|
|
|
$(QTQUICK_INSTALL_DIR):
|
|
|
|
$(VERBOSE)mkdir -p $@
|
|
|
|
|
|
|
|
$(QT_PLUGIN_INSTALL_DIR):
|
|
|
|
$(VERBOSE)mkdir -p $@
|
|
|
|
|
2018-04-24 10:40:22 +00:00
|
|
|
$(QT_PLUGIN): $(QT_PLUGIN_INSTALL_DIR) $(QT_PLUGIN_NAME).lib.so.stripped
|
|
|
|
$(VERBOSE)cp $(QT_PLUGIN_NAME).lib.so.stripped $@
|
|
|
|
|
|
|
|
$(TAR_ARCHIVE): $(QT_PLUGIN)
|
|
|
|
$(VERBOSE)tar chf $@ qt
|
2017-07-26 12:46:22 +00:00
|
|
|
|
2018-04-24 10:40:22 +00:00
|
|
|
$(QT_PLUGIN_NAME).lib.tag: $(TAR_ARCHIVE)
|
2017-07-26 12:46:22 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# unfortunately, these clean rules don't trigger
|
|
|
|
#
|
|
|
|
|
2018-04-24 10:40:22 +00:00
|
|
|
clean-tar_archive:
|
|
|
|
rm -rf $(TAR_ARCHIVE)
|
2017-07-26 12:46:22 +00:00
|
|
|
|
2018-04-24 10:40:22 +00:00
|
|
|
clean: clean-tar_archive
|
2018-01-03 17:40:54 +00:00
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|