mirror of
https://github.com/videolan/vlc.git
synced 2024-11-28 04:14:07 +08:00
Install the qt4 translations
This commit is contained in:
parent
0b192b63d0
commit
f55d9a54ac
@ -694,6 +694,8 @@ package-win-common:
|
||||
"$(top_builddir)/vlc-$(VERSION)/share/locale/$${i}/LC_MESSAGES/vlc.mo" \
|
||||
|| true ; \
|
||||
done
|
||||
mkdir -p $(top_builddir)/vlc-$(VERSION)/share/locale/qt4/
|
||||
cp $(QT4LOCALEDIR)/*.qm $(top_builddir)/vlc-$(VERSION)/share/locale/qt4/ || true
|
||||
|
||||
# Mozilla plugin
|
||||
if BUILD_MOZILLA
|
||||
|
@ -4888,6 +4888,8 @@ AS_IF([test "${enable_qt4}" != "no"], [
|
||||
], [
|
||||
VLC_ADD_LIBS([qt4],[$QT4_LIBS])
|
||||
])
|
||||
QT4LOCALEDIR="$($PKG_CONFIG --variable=prefix QtCore)/share/qt4/translations/"
|
||||
AC_SUBST(QT4LOCALEDIR)
|
||||
VLC_ADD_CXXFLAGS([qt4],[$QT4_CFLAGS -DQT4LOCALEDIR=\\\\\\\"$($PKG_CONFIG --variable=prefix QtCore)/share/qt4/translations/\\\\\\\"])
|
||||
AC_PATH_PROGS(MOC, [moc-qt4 moc], moc,`$PKG_CONFIG --variable=exec_prefix QtCore`/bin)
|
||||
AC_PATH_PROG(RCC, rcc, rcc,`$PKG_CONFIG --variable=exec_prefix QtCore`/bin)
|
||||
|
Loading…
Reference in New Issue
Block a user