From kde-core-devel Thu Dec 14 16:44:38 2000 From: Simon Hausmann Date: Thu, 14 Dec 2000 16:44:38 +0000 To: kde-core-devel Subject: Re: Qt's tr() and KDE's i18n() X-MARC-Message: https://marc.info/?l=kde-core-devel&m=97681235206753 On Thu, Dec 14, 2000 at 11:40:02AM -0500, Andre Charbonneau wrote: > Hi > > In my KDE application I would like to use KDE's i18n() function for > translation. Since I'm using Qt Designer to create my GUI, I tell the uic > compiler to use i18n() instead of tr(), so that all the code in my > application uses KDE's i18n() function for translation. (This is to avoid > having to deal with 2 types of message files for translation.) The problem > is that my application will not compile since Qt's uic compiler does not > know what file to include for the declaration of KDE's i18n() function. > Can anyone help me on this one? Either add klocale.h to the list of included files in the form settings or (better) use am_edit from the KDE build system, which adds klocale.h to the list of includes automatically :) Bye, Simon