2013-08-09 13:04:52 +00:00
|
|
|
include $(REP_DIR)/lib/import/import-qt5_gui.mk
|
|
|
|
|
|
|
|
SHARED_LIB = yes
|
|
|
|
|
2017-05-22 12:50:09 +00:00
|
|
|
ifeq ($(filter-out $(SPECS),x86),)
|
|
|
|
CC_OPT += -mno-sse2
|
|
|
|
endif
|
|
|
|
|
2013-08-09 13:04:52 +00:00
|
|
|
# use default warning level to avoid noise when compiling contrib code
|
|
|
|
CC_WARN = -Wno-unused-but-set-variable -Wno-deprecated-declarations
|
|
|
|
|
|
|
|
include $(REP_DIR)/lib/mk/qt5_gui_generated.inc
|
|
|
|
|
2017-05-24 18:02:19 +00:00
|
|
|
QT_SOURCES_FILTER_OUT = \
|
|
|
|
qdrawhelper_sse2.cpp \
|
|
|
|
qimage_sse2.cpp
|
|
|
|
|
2013-08-09 13:04:52 +00:00
|
|
|
# remove unneeded files to prevent moc warnings
|
|
|
|
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
2017-05-24 18:02:19 +00:00
|
|
|
moc_qsessionmanager.cpp
|
2013-08-09 13:04:52 +00:00
|
|
|
|
|
|
|
include $(REP_DIR)/lib/mk/qt5.inc
|
|
|
|
|
|
|
|
INC_DIR += $(REP_DIR)/include/qt5/qtbase/QtGui/private \
|
2014-08-12 16:08:06 +00:00
|
|
|
$(QT5_CONTRIB_DIR)/qtbase/include/QtGui/$(QT_VERSION) \
|
|
|
|
$(QT5_CONTRIB_DIR)/qtbase/include/QtGui/$(QT_VERSION)/QtGui \
|
|
|
|
$(QT5_CONTRIB_DIR)/qtbase/include/QtGui/$(QT_VERSION)/QtGui/private \
|
|
|
|
$(QT5_CONTRIB_DIR)/qtbase/include/QtCore/$(QT_VERSION) \
|
|
|
|
$(QT5_CONTRIB_DIR)/qtbase/include/QtCore/$(QT_VERSION)/QtCore
|
2013-08-09 13:04:52 +00:00
|
|
|
|
2017-05-24 18:02:19 +00:00
|
|
|
LIBS += qt5_core zlib libpng
|
2014-08-12 16:08:06 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# install fonts
|
|
|
|
#
|
|
|
|
|
2017-03-13 14:46:41 +00:00
|
|
|
ifneq ($(call select_from_ports,qt5),)
|
2014-08-12 16:08:06 +00:00
|
|
|
all: $(BUILD_BASE_DIR)/bin/qt5_fs/qt/lib/fonts
|
2017-03-13 14:46:41 +00:00
|
|
|
endif
|
2014-08-12 16:08:06 +00:00
|
|
|
|
|
|
|
$(BUILD_BASE_DIR)/bin/qt5_fs/qt/lib/fonts:
|
|
|
|
$(VERBOSE)mkdir -p $@
|
2017-05-23 15:42:43 +00:00
|
|
|
$(VERBOSE)ln -sf $(QT5_CONTRIB_DIR)/qtquickcontrols/examples/quickcontrols/extras/dashboard/fonts/DejaVuSans.ttf $@/
|
2018-01-03 17:40:54 +00:00
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|