[PyKDE] PyQt and qtranslator

Petr Vanek subzero at py.cz
Sat Jan 18 13:10:00 GMT 2003


cheers!

this don't work - python/pyqt:

tor = QTranslator( app, "0" )
tor.load( QString("lokalizacecpp.cs.qm"), "." )
app.installTranslator( tor )

but this one does - c++/qt:

QTranslator tor( 0 );
tor.load( QString("lokalizacecpp.cs.po"), "." );
app.installTranslator( &tor );

why? 
same *po file, same *ui...
PyQt 3.4 on SuSE8.0

-- 
  ----------------------------
         Petr Vanek
      petr.vanek at ika.cz
  ----- www.yarpen.cz --------
Kuolema Kaikille (Paitsi Meille)

Today is good day to end it all




More information about the PyQt mailing list