D7232: Move SceneXRender into a plugin

Martin Flöser noreply at phabricator.kde.org
Fri Aug 11 18:06:20 UTC 2017


graesslin added inline comments.

INLINE COMMENTS

> broulik wrote in xrender.json:7
> Can we instead query `QMetaEnum` and store the enum's key name as a string?

That one was new to me. I had a look today and tried to change it, but face several problems:

- The enum is declared in a namespace
- Q_NAMESPACE and Q_ENUM_NS are only available in 5.8
- Ignoring that and just adding them results in linker error as the header where it's defined is header only

So overall I think the answer is: no we cannot.

REPOSITORY
  R108 KWin

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

To: graesslin, #kwin, #plasma
Cc: broulik, plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170811/bb119ddf/attachment-0001.html>


More information about the Plasma-devel mailing list