Otherwise KLocalizedString asserts
Details
- Reviewers
aacid bero dfaure - Commits
- R370:b17dd284090f: Add QCoreApplication
Can browse pictures using camera:/ again
Diff Detail
- Repository
- R370 Kamera
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
@broulik so you were getting the
./kioslave/kamera.cpp:796: error(KIO::ERR_SLAVE_DEFINED, i18n("Could not read. Reason: %1",
often? Or is it somehow an inherited i18n call?
Also FWIW there's no Messages.sh in kioslave/kamera so that i18n is "untranslatable" at this point.
Do you feel like adding the Messages.sh and a add_definitions(-DTRANSLATION_DOMAIN=\"\") in the CMakeLists.txt ?
This causes the build to fail on all platforms.
Please see:
https://build.kde.org/view/Failing/job/Applications/job/kamera/job/kf5-qt5%20FreeBSDQt5.11/4/consoleText
https://build.kde.org/view/Failing/job/Applications/job/kamera/job/kf5-qt5%20SUSEQt5.9/13/consoleText
https://build.kde.org/view/Failing/job/Applications/job/kamera/job/stable-kf5-qt5%20FreeBSDQt5.11/4/consoleText
https://build.kde.org/view/Failing/job/Applications/job/kamera/job/stable-kf5-qt5%20SUSEQt5.9/24/consoleText