Translations:Development/Tutorials/First program/45/en

Jump to: navigation, search

First we need to create a QApplication object. This needs to be done exactly once in each program since it is needed for things such as i18n. It also should be created before any other KDE Framework or Qt object. A call to KLocalizedString::setApplicationDomain() is required to properly set the translation catalog and must be done before the next step happens.


This page was last edited on 19 July 2019, at 17:42. Content is available under Creative Commons License SA 4.0 unless otherwise noted.