[Qgis-user] Mac QGIS using Qt4.5

Tom Elwertowski telwertowski at comcast.net
Tue Dec 30 21:01:48 PST 2008


John C. Tull wrote:
> Have you tried building with the qt-4.5 beta that recently was released? 
> I'm trying with the binary from trolltech (have not tried a source build 
> yet), but seem to be hitting some issues with international support 
> (maybe the binary does not have that included; it's not a big download). 
> The grass plugin also appears to still be a problem.

Here are the latest patches for Qt4.5:
http://telwertowski.home.comcast.net/i18n_qt45_r9913.diff
http://telwertowski.home.comcast.net/qgsgrassshell_qt4_r9913.diff

The lrelease messages are right. There are duplicate strings in the .ts 
files. I first saw this a few weeks ago and thought it was a bad Qt 
snapshot release.

It looks like older versions of lupdate were extracting the degree and 
copyright symbols as &#xb0 and &#xa9. Newer versions extract the symbol 
unmodified and add "encoding=UTF-8." Old strings are tagged "obsolete" 
but never removed; the translators decide for themselves whether to 
remove old strings or save them for potential reuse if they expect 
similar phrases to reappear. Qt4.4 ignores the duplicates but Qt4.5 now 
doesn't. Since the message is at least three weeks old, I assume it's 
permanent.

The grass shell still uses Q3TextEdit so a patch is needed or you need 
to build Qt with 64bit support disabled and Qt3Support enabled. The 
patch does not render large blocks of output correctly but covering and 
uncovering the window will show the correct output.

Tom




More information about the Qgis-user mailing list