[Eric] eric4 doesn't find translations for qt and qscintilla

Andreas Pakulat apaku at gmx.de
Wed Jun 20 19:09:07 BST 2007


On 20.06.07 19:33:14, Detlev Offenbach wrote:
> On Mittwoch, 20. Juni 2007, Andreas Pakulat wrote:
> > On 20.06.07 18:30:39, Andreas Pakulat wrote:
> > > Hi,
> > >
> > > I'm getting
> > > andreas at morpheus:~>eric4
> > > Warning: translation file 'qt_de'could not be loaded.
> > > Using default.
> > > Warning: translation file 'qscintilla_de'could not be loaded.
> > > Using default.
> > >
> > > when starting eric4. Even though the files qscintilla_de.qm and qt_de.qm
> > > exist in QTDIR/translations.
> >
> > Uhm, nm. After setting the dir properly inside eric4 everythings fine.
> > Maybe you could look into QTDIR/translations by default? (or do you do
> > that already?)
> >
> > Andreas
> 
> No I am not because on a dual Qt installation (Qt3 side-by-side to Qt4) where 
> does QTDIR point to? The decision was made on purpose.

I should've been more verbose. You can use QLibraryInfo::location() to
find out the translation path of Qt. I didn't mean the QTDIR environment
variable, which isn't set for Qt4 anyway.

Andreas

-- 
Try the Moo Shu Pork.  It is especially good today.


More information about the Eric mailing list