2013-08-09 13:04:52 +00:00
|
|
|
include $(REP_DIR)/lib/import/import-qt5_gui.mk
|
|
|
|
|
|
|
|
SHARED_LIB = yes
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
# remove unneeded files to prevent moc warnings
|
|
|
|
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
|
|
|
moc_qsessionmanager.cpp \
|
|
|
|
moc_qsound.cpp \
|
|
|
|
moc_qsound_p.cpp \
|
|
|
|
moc_qmenudata.cpp \
|
|
|
|
moc_qprintpreviewwidget.cpp \
|
|
|
|
moc_qabstractprintdialog.cpp \
|
|
|
|
moc_qabstractpagesetupdialog.cpp \
|
|
|
|
moc_qpagesetupdialog.cpp \
|
|
|
|
moc_qprintdialog.cpp \
|
|
|
|
moc_qprintpreviewdialog.cpp \
|
|
|
|
moc_qpagesetupdialog_unix_p.cpp
|
|
|
|
|
|
|
|
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT = \
|
|
|
|
qprintpreviewwidget.moc \
|
|
|
|
qprintdialog_unix.moc \
|
|
|
|
qprintpreviewdialog.moc
|
|
|
|
|
|
|
|
# UI headers
|
|
|
|
qfiledialog.o: ui_qfiledialog.h
|
|
|
|
|
|
|
|
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
|
|
|
|
2013-11-25 18:02:52 +00:00
|
|
|
LIBS += qt5_core jpeg zlib libpng gallium
|
2014-08-12 16:08:06 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# install fonts
|
|
|
|
#
|
|
|
|
|
|
|
|
all: $(BUILD_BASE_DIR)/bin/qt5_fs/qt/lib/fonts
|
|
|
|
|
|
|
|
$(BUILD_BASE_DIR)/bin/qt5_fs/qt/lib/fonts:
|
|
|
|
$(VERBOSE)mkdir -p $@
|
|
|
|
$(VERBOSE)ln -sf $(QT5_CONTRIB_DIR)/qtbase/lib/fonts/DejaVuSans.ttf $@/
|