D28134: Add ColorUtils

David Faure noreply at phabricator.kde.org
Wed Apr 8 12:27:55 BST 2020


dfaure added a comment.


  Breaks compilation with Qt 5.13 too.
  
    /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; });
          |                                                                                                                          ^
  
  This overload is new in Qt 5.14.
  Please use something that works with 5.12, and/or use a QT_VERSION #if.

REPOSITORY
  R169 Kirigami

REVISION DETAIL
  https://phabricator.kde.org/D28134

To: cblack, #plasma, mart, davidedmundson
Cc: 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/fe182c1a/attachment.html>


More information about the Plasma-devel mailing list