D28134: Add ColorUtils
Allen Winter
noreply at phabricator.kde.org
Wed Apr 8 12:29:44 BST 2020
winterz added a comment.
In D28134#643899 <https://phabricator.kde.org/D28134#643899>, @kossebau wrote:
> Seems to no be compatible with Qt 5.12, see failing on CI: https://build.kde.org/view/Failing/job/Frameworks/job/kirigami/job/kf5-qt5%20SUSEQt5.12/lastFailedBuild/console
same for Qt5.13.2
please revert or fix asap. lots of the build stack depends on kirigami
[3/5] Building CXX object src/CMakeFiles/kirigamiplugin.dir/kirigamiplugin.cpp.o
FAILED: src/CMakeFiles/kirigamiplugin.dir/kirigamiplugin.cpp.o
/data/kde/src/5/frameworks/kirigami/src/kirigamiplugin.cpp:248:122: error: invalid user-defined conversion from ‘KirigamiPlugin::registerTypes(const char*)::<lambda(QQmlEngine*, QJSEngine*)>’ to ‘QObject* (*)(QQmlEngine*, QJSEngine*)’ [-fpermissive]
248 | qmlRegisterSingletonType<ColorUtils>(uri, 2, 12, "ColorUtils", [](QQmlEngine*, QJSEngine*) { return new ColorUtils; });
| ^
/data/kde/src/5/frameworks/kirigami/src/kirigamiplugin.cpp:248:68: note: candidate is: ‘KirigamiPlugin::registerTypes(const char*)::<lambda(QQmlEngine*, QJSEngine*)>::operator ColorUtils* (*)(QQmlEngine*, QJSEngine*)() const’ <near match>
248 | qmlRegisterSingletonType<ColorUtils>(uri, 2, 12, "ColorUtils", [](QQmlEngine*, QJSEngine*) { return new ColorUtils; });
| ^
/data/kde/src/5/frameworks/kirigami/src/kirigamiplugin.cpp:248:68: note: no known conversion from ‘ColorUtils* (*)(QQmlEngine*, QJSEngine*)’ to ‘QObject* (*)(QQmlEngine*, QJSEngine*)’
In file included from /usr/include/qt5/QtQml/qqmlengine.h:47,
from /usr/include/qt5/QtQml/QQmlEngine:1,
from /data/kde/src/5/frameworks/kirigami/src/kirigamiplugin.h:14
REPOSITORY
R169 Kirigami
REVISION DETAIL
https://phabricator.kde.org/D28134
To: cblack, #plasma, mart, davidedmundson
Cc: winterz, dfaure, kossebau, fvogt, davidedmundson, plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200408/6358dd1c/attachment.html>
More information about the Plasma-devel
mailing list