https://bugs.kde.org/show_bug.cgi?id=400934

Manuel Nickschas <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
     Ever confirmed|0                           |1
                 CC|                            |[email protected]
         Resolution|LATER                       |---

--- Comment #14 from Manuel Nickschas <[email protected]> ---
The compiler flags -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY
-DQT_NO_CAST_TO_ASCII are enforced by extra-cmake-modules in
KDEFrameworkCompilerSettings.cmake; so those are not added by Gentoo.

In addition, resources/ews/ewsclient/auth/ewspkeyauthjob.cpp misses an #include
<QUrlQuery>; also in that file, QString::toAscii() is used twice, which is
deprecated since Qt 5.0 (and I guess something in KDE's build chain disables
those methods, although I could not find the actual place).

Removing the flags from KDEFrameworkCompilerSettings.cmake, adding the missing
include and changing toAscii() to toLatin1() fixes the kdepim-runtime build for
me, but obviously these are hacks that should be fixed properly.

I'm reopening the bug, because these seem to be upstream issues rather than
Gentoo issues. If you disagree, feel free to close again.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to