Commit 71de7a93 authored by zorglub's avatar zorglub
Browse files

Fix build

parent 450a2fb5
......@@ -4603,6 +4603,18 @@ then
fi
fi
dnl
dnl QT 4
dnl
enableqt4=false
AC_ARG_ENABLE(qt4,
[ --enable-qt4 QT 4 support (default disabled) ],
[if test "${enable_qt4}" = "yes"; then
VLC_ADD_PLUGINS([qt4])
enableqt4=true
fi])
AM_CONDITIONAL(ENABLE_QT4, test "$enableqt4" = "true")
dnl
dnl WinCE GUI module
dnl
......
SOURCES_qt4 = qt4.cpp
EXTRA_DIST += \
qt4.hpp
TOUI = file_open
UIH := $(TOUI:%=%.h)
TOMOC = main_interface
MOCCPP := $(TOMOC:%=%.moc.cpp)
if ENABLE_QT4
BUILT_SOURCES += $(UIH)
BUILT_SOURCES += $(MOCCPP)
nodist_SOURCES_qt4 = $(UIH) $(MOCCPP)
$(MOCCPP): %.moc.cpp: %.hpp
@echo "MOC $< -> $@"
moc -o $@ $<
$(UIH): %.h: %.ui
@echo "UIC $< -> $@"
uic -tr _ -o $@ $<
endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment