[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Working with gettext and Qt4
From: |
Leopold Palomo Avellaneda |
Subject: |
Working with gettext and Qt4 |
Date: |
Tue, 23 Sep 2008 14:40:04 +0200 |
User-agent: |
KMail/1.9.9 |
Hi,
first of all I hope that this list is the correct place to post a message of
gettext. I have found in several places about the <address@hidden>
list, but I have not be able to find it.
I'm developing some application using Qt. I don't like the Qtlinguist (is not
good) and I would prefer to use gettext. To accomplish it, I know that
there's two ways to do it:
1) use the Qt way, but generate the pot files with xgettext and then produce
the qm file from the po with msgfmt --qt option. This way is showed in the
hello-c++-qt example.
2) Develop some code and embed some transform from the gettext return to the
QString class. This way, is how kde works, I think.
Some months I interchange some mails with Bruno Haible with point me some
about it, because I couldn't accomplish the 1 way.
Now, I have dedicated some time to it and I'm pretty sure that msgfmt _only_
produces good qm files for the qt3.x not for qt4.
I have copied a qt4 example, I have extracted the messages and generated the
qm file and it doesn't work.
Also, some of you have tested it with qt4? The hello-c++-qt _only_ works with
qt3.
So, please, could you confirm it?
and if yes,
please, could you fix it?, or simple, add a line to the documentation telling
that it only works with qt3 and qt4 is not supported.
I'm open to send an example, code, etc to try to solve it. But, maybe no one
has interest in it, and it doesn't worsewhile to spend time trying to solve
this bug.
Best regards,
Leo
--
--
Linux User 152692
PGP: 0xF944807E
Catalonia
signature.asc
Description: This is a digitally signed message part.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Working with gettext and Qt4,
Leopold Palomo Avellaneda <=