Adds automatic translations loaders for LXQt libs and apps
[lxde/liblxqt.git] / cmake / modules / LXQtLibTranslationLoader.cpp.in
1 /* This file has been generated by the CMake lxqt_app_translation_loader().
2 * It loads LXQt libraries translations.
3 *
4 * Attention: All changes will be overwritten!!!
5 */
6
7 #include <QCoreApplication>
8 #include <LXQt/Translator>
9
10 static void loadLibTranslation()
11 {
12 LxQt::Translator::translateLibrary(QStringLiteral("@catalog_name@"));
13 }
14
15 Q_COREAPP_STARTUP_FUNCTION(loadLibTranslation)