Install the qt4 translations

This commit is contained in:
Christophe Mutricy 2008-07-28 23:26:42 +01:00
parent 0b192b63d0
commit f55d9a54ac
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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)