Fixed an encoding issue

This commit is contained in:
Olivier Teulière 2008-09-23 17:26:19 +00:00
parent 9498d044f8
commit 320c006827

View file

@ -93,7 +93,7 @@ resources.cpp: eliot.qrc $(RESOURCES)
rm -f $@ $@.tmp
echo "// Note: Lines below generated by Eliot build system" > $@.tmp
echo "#include \"qtcommon.h\"" >> $@.tmp
echo "#define Q_(a,b) QString::fromUtf8(_(a))" >> $@.tmp
echo "#define Q_(a,b) QString::fromLocal8Bit(_(a))" >> $@.tmp
$(UIC) -tr "Q_" $< >> $@.tmp
sed 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@.tmp >$@
rm -f $@.tmp