Translations:Development/Tutorials/First program/KF5/43/en

Jump to: navigation, search

</syntaxhighlight> 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 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 11 March 2016, at 10:32. Content is available under Creative Commons License SA 4.0 unless otherwise noted.