[kdepim] [Bug 400916] New: kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*) is private)
Benjamin Traut
bugzilla_noreply at kde.org
Sat Nov 10 14:57:28 GMT 2018
https://bugs.kde.org/show_bug.cgi?id=400916
Bug ID: 400916
Summary: kdepim-runtime does not compile with qt 5.11 (because
QString::QString(const char*) is private)
Product: kdepim
Version: GIT (master)
Platform: Gentoo Packages
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: libkdepim
Assignee: kdepim-bugs at kde.org
Reporter: b.traut at gmx.net
Target Milestone: ---
Note:
* Severity "major" only because no compilation is possible. Please change
accordingly.
* Component "libkdepim": It's a wild guess. Git-Repo would be
kdepim-runtime.git
SUMMARY
I am using gentoos qt5-live packages, which currently results in qt-5.11.x
being used.
When trying to compile the live kdepim-runtime-packages using the ebuild
provided by the gentoo kde-overlay repository, the following error occurs:
/var/tmp/portage/kde-apps/kdepim-runtime-9999/work/kdepim-runtime-9999/resources/ews/ewsclient/ewsrequest.cpp:
In member function ‘void EwsRequest::prepare(const QString&)’:
/var/tmp/portage/kde-apps/kdepim-runtime-9999/work/kdepim-runtime-9999/resources/ews/ewsclient/ewsrequest.cpp:104:87:
error: ‘QString::QString(const char*)’ is private within this context
job->addMetaData(QStringLiteral("customHTTPHeader"),
customHeaders.join("\r\n"));
^
In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44:0,
from /usr/include/qt5/QtCore/qlist.h:47,
from /usr/include/qt5/QtCore/qhash.h:46,
from /usr/include/qt5/QtCore/qshareddata.h:46,
from /usr/include/qt5/QtCore/qsharedpointer.h:45,
from /usr/include/qt5/QtCore/QSharedPointer:1,
from
/var/tmp/portage/kde-apps/kdepim-runtime-9999/work/kdepim-runtime-9999/resources/ews/ewsclient/ewsrequest.h:25,
from
/var/tmp/portage/kde-apps/kdepim-runtime-9999/work/kdepim-runtime-9999/resources/ews/ewsclient/ewsrequest.cpp:20:
/usr/include/qt5/QtCore/qstring.h:829:5: note: declared private here
QString(const char *ch);
^~~~~~~
make[2]: *** [resources/ews/ewsclient/CMakeFiles/ewsclient.dir/build.make:466:
resources/ews/ewsclient/CMakeFiles/ewsclient.dir/ewsrequest.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
'/var/tmp/portage/kde-apps/kdepim-runtime-9999/work/kdepim-runtime-9999_build'
make[1]: *** [CMakeFiles/Makefile2:3124:
resources/ews/ewsclient/CMakeFiles/ewsclient.dir/all] Error 2
make[1]: Leaving directory
'/var/tmp/portage/kde-apps/kdepim-runtime-9999/work/kdepim-runtime-9999_build'
STEPS TO REPRODUCE
1. compile Qt5-5.11 from sources (gentoo qt-overlay)
2. compile kdepim-live-package-set (if you haven't before).
3. or compile directly the kde-apps/kdepim-runtime-9999.ebuild
OBSERVED RESULT
Package does not compile (see above error message)
EXPECTED RESULT
Package does compile and install
SOFTWARE/OS VERSIONS
Windows: -
MacOS: -
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 5.14.18 (live)
KDE Frameworks Version: 5.52.0 (live)
Qt Version: 5.11.2 (live)
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list