Skip to content

Error when building KI18n module #3

Description

@estan

I'm getting

[ 36%] Building CXX object src/CMakeFiles/Py3KF5KI18n.dir/pybuild/PyKF5/KI18n/unifiedKI18n.cpp.o
<command-line>:0:20: error: expected identifier before string constant
/home/estan/frameworks-bindings/ki18n/src/klocalizedstring.h:1967:25: note: in expansion of macro ‘TRANSLATION_DOMAIN’
 #define i18n(...) i18nd(TRANSLATION_DOMAIN, __VA_ARGS__)
                         ^~~~~~~~~~~~~~~~~~
/home/estan/frameworks-bindings/ki18n/src/klocalizedcontext.h:68:25: note: in expansion of macro ‘i18n’
     Q_INVOKABLE QString i18n(const QString &message,
                         ^~~~

and a few similar errors when the KI18n module is compiled.

I'm attaching the full cmake --build . output.

This is on an up-to-date Arch Linux. Am I missing some dependency?

buildlog.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions