On Sun, Sep 24, 2023 at 11:39 AM Dominik 'Rathann' Mierzejewski <domi...@greysector.net> wrote: > > On Sunday, 24 September 2023 at 11:11, Martin Gansser wrote: > > Hi, > > shotcut compilation [1] fails with "error: ‘hasPro’ was not declared in > > this scope" message > [...] > > In file included from /usr/include/qt6/QtGui/QTextCharFormat:1, > > from > > /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/OJWBM6OTSN/../../../../src/qmltypes/qmlrichtext.h:39, > > from > > /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/OJWBM6OTSN/moc_qmlrichtext.cpp:9, > > from > > /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/mocs_compilation.cpp:70: > > /usr/include/qt6/QtGui/qtextformat.h:556:20: error: stray ‘`’ in program > > 556 | { return hasPro`erty(TextBaselineOffset) ? > > doubleProperty(TextBaselineOffset) : 0.0; } > > | ^ > > This is the first error. The rest follows from it.
What *is* weird, however, is that this seems to point at Qt's own header files, and this file doesn't seem to have changed in three years: https://github.com/qt/qtbase/blame/dev/src/gui/text/qtextformat.h#L557 And there's also no Fedora patches for qt6-qtbase that change this file. Fabio _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue