2018-04-24 12:40:22 +02:00
|
|
|
include $(call select_from_repositories,lib/import/import-qt5_gui.mk)
|
2013-08-09 15:04:52 +02:00
|
|
|
|
|
|
|
SHARED_LIB = yes
|
|
|
|
|
2017-05-22 14:50:09 +02:00
|
|
|
ifeq ($(filter-out $(SPECS),x86),)
|
|
|
|
CC_OPT += -mno-sse2
|
|
|
|
endif
|
|
|
|
|
2013-08-09 15:04:52 +02: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 20:02:19 +02:00
|
|
|
QT_SOURCES_FILTER_OUT = \
|
|
|
|
qdrawhelper_sse2.cpp \
|
|
|
|
qimage_sse2.cpp
|
|
|
|
|
2013-08-09 15:04:52 +02:00
|
|
|
# remove unneeded files to prevent moc warnings
|
|
|
|
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
2017-05-24 20:02:19 +02:00
|
|
|
moc_qsessionmanager.cpp
|
2013-08-09 15:04:52 +02:00
|
|
|
|
|
|
|
include $(REP_DIR)/lib/mk/qt5.inc
|
|
|
|
|
2017-05-24 20:02:19 +02:00
|
|
|
LIBS += qt5_core zlib libpng
|
2014-08-12 18:08:06 +02:00
|
|
|
|
2018-01-03 18:40:54 +01:00
|
|
|
CC_CXX_WARN_STRICT =
|