Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.0
-
None
-
349a18096 (dev), d63c560ec (dev), e6e3da4de (6.8)
Description
Building https://invent.kde.org/graphics/spectacle fails with
/home/nico/kde/build/spectacle/src/.rcc/qmlcache/spectacle_Gui/CopiedMessage_qml.cpp: In lambda function: /home/nico/kde/build/spectacle/src/.rcc/qmlcache/spectacle_Gui/CopiedMessage_qml.cpp:190:72: error: ‘QString::QString(const char*)’ is private within this context 190 | aotContext->initGetObjectLookup(1, r2_0, QQmlPrivate::compositeMetaType(aotContext->compilationUnit, "AnimatedLoader")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/nico/kde/usr/include/QtQml/qjsprimitivevalue.h:10, from /home/nico/kde/usr/include/QtQml/qqmlprivate.h:18, from /home/nico/kde/build/spectacle/src/.rcc/qmlcache/spectacle_Gui/CopiedMessage_qml.cpp:2:
See https://bugs.kde.org/show_bug.cgi?id=494281
Adding "remove_definitions(-DQT_NO_CAST_FROM_ASCII)" to CMake fixes the issue.