https://bugs.kde.org/show_bug.cgi?id=397404

Ralf Habacker <ralf.habac...@freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #1 from Ralf Habacker <ralf.habac...@freenet.de> ---
One of the problem is that the test case is designed not to use translation,
but a translation is always loaded from the kcoreaddons library. 

This is configured in the cmake build system by calling 

ecm_create_qm_loader(kcoreaddons_QM_LOADER kcoreaddons5_qt)

which adds loading of a translation to qAddPreRoutine() unconditional.

This support needs to be disabled for the test app by not loading a translation
if current locale is != 'C'. 

Second in main() 'C' locale needs to be set before using QCoreApplication.

Unfortunally main is hidden in the macro 

QTEST_MAIN(KFormatTest)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to