https://bugs.kde.org/show_bug.cgi?id=443023

ratijas <m...@ratijas.tk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |INTENTIONAL

--- Comment #1 from ratijas <m...@ratijas.tk> ---
The i18n() function (as well as many others in that family) comes from a
context object KLocalizationContext from KF::I18n package. This object should
be initialized and set to QML engine in C++ code, there's currently no way
around doing that. QQC2 Desktop Style, by not being a Tier 1 framework, can
expect that i18n stuff will be set up by any calling code. On the other hand,
for example Kirigami is a Tier 1 framework which can not depend on KI18n, so
can only use simpler qsTr() functions in its components.

So, to sum up: these reference errors are not bugs in org.kde.desktop but an
issue with me using a runtime without expected context object. To solve this
problem I created `kqml` — QML runtime with initialized KLocalizedContext. Read
more: https://invent.kde.org/plasma/plasma-sdk/-/merge_requests/79

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to