Bug 337932

Summary: Plasma-desktop build failure with Qt 5.4 (QExplicitlySharedDataPointer)
Product: [Plasma] plasmashell Reporter: Hrvoje Senjan <hrvoje.senjan>
Component: Application Menu (Kicker) widgetAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: kfunk
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
URL: https://qt.gitorious.org/qt/qtbase/commit/e112c2ee20f89f288a4f0a13827f0b64067096f0
See Also: https://bugs.kde.org/show_bug.cgi?id=337927
https://bugs.kde.org/show_bug.cgi?id=337929
https://bugs.kde.org/show_bug.cgi?id=337933
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hrvoje Senjan 2014-07-31 05:44:05 UTC
Error goes:

[  132s] In file included from /usr/include/qt5/QtCore/qsharedpointer.h:47:0,
[  132s]                  from /usr/include/qt5/QtGui/qpixmap.h:49,
[  132s]                  from /usr/include/qt5/QtGui/qicon.h:48,
[  132s]                  from /usr/include/qt5/QtGui/QIcon:1,
[  132s]                  from /home/abuild/rpmbuild/BUILD/plasma-desktop-5.0.40git~1406569768~45c3b70/applets/kicker/plugin/abstractentry.h:26,
[  132s]                  from /home/abuild/rpmbuild/BUILD/plasma-desktop-5.0.40git~1406569768~45c3b70/applets/kicker/plugin/appsmodel.h:24,
[  132s]                  from /home/abuild/rpmbuild/BUILD/plasma-desktop-5.0.40git~1406569768~45c3b70/applets/kicker/plugin/appsmodel.cpp:21:
[  132s] /usr/include/qt5/QtCore/qshareddata.h: In instantiation of 'QExplicitlySharedDataPointer<T>::QExplicitlySharedDataPointer(const QExplicitlySharedDataPointer<X>&) [with X = KSycocaEntry; T = KServiceGroup]':
[  132s] /home/abuild/rpmbuild/BUILD/plasma-desktop-5.0.40git~1406569768~45c3b70/applets/kicker/plugin/appsmodel.cpp:255:81:   required from here
[  132s] /usr/include/qt5/QtCore/qshareddata.h:174:21: error: invalid conversion from 'KSycocaEntry*' to 'KServiceGroup*' [-fpermissive]
[  132s]          : d(o.data())
[  132s]                      ^
[  132s] /usr/include/qt5/QtCore/qshareddata.h: In instantiation of 'QExplicitlySharedDataPointer<T>::QExplicitlySharedDataPointer(const QExplicitlySharedDataPointer<X>&) [with X = KSycocaEntry; T = KService]':
[  132s] /home/abuild/rpmbuild/BUILD/plasma-desktop-5.0.40git~1406569768~45c3b70/applets/kicker/plugin/appsmodel.cpp:298:71:   required from here
[  132s] /usr/include/qt5/QtCore/qshareddata.h:174:21: error: invalid conversion from 'KSycocaEntry*' to 'KService*' [-fpermissive]
Comment 1 Kevin Funk 2014-08-06 06:36:32 UTC
Git commit ee4927f4f6ba794afaa256ac2e66e46659d6f4e8 by Kevin Funk.
Committed on 06/08/2014 at 06:30.
Pushed by kfunk into branch 'master'.

Make compile with Qt 5.4

M  +5    -4    applets/kicker/plugin/appsmodel.cpp

http://commits.kde.org/plasma-desktop/ee4927f4f6ba794afaa256ac2e66e46659d6f4e8