| Summary: | Current git build fails on Kubuntu 12.10 due to lastfm | ||
|---|---|---|---|
| Product: | [Applications] amarok | Reporter: | Dominic Laumer <domo> |
| Component: | Services/Last.fm | Assignee: | Amarok Bugs <amarok-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | sam |
| Priority: | NOR | ||
| Version First Reported In: | 2.6-git | ||
| Target Milestone: | 2.7 | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/amarok/a315defed16b7437dfbae8f3c2359b6168d46f43 | Version Fixed/Implemented In: | 2.7 |
| Sentry Crash Report: | |||
Git commit a315defed16b7437dfbae8f3c2359b6168d46f43 by Sam Lade. Committed on 26/08/2012 at 00:38. Pushed by lade into branch 'master'. Fix lastfm build for some people Some users, for reasons unknown, were getting QPixmap incomplete type errors building the LastFm plugin. FIXED-IN:2.7 M +1 -0 src/services/lastfm/LastFmTreeModel.h http://commits.kde.org/amarok/a315defed16b7437dfbae8f3c2359b6168d46f43 |
While building amarok from git with lastfm-support under Kubuntu 12.10 (up to date, amd64), following error comes up: [ 94%] Building CXX object src/services/lastfm/CMakeFiles/amarok_service_lastfm.dir/amarok_service_lastfm_automoc.o In file included from /home/flummi/src/amarok/build/src/services/lastfm/amarok_service_lastfm_automoc.cpp:4:0: /home/flummi/src/amarok/build/src/services/lastfm/moc_LastFmTreeModel.cpp: In static member function ‘static void LastFmTreeModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’: /home/flummi/src/amarok/build/src/services/lastfm/moc_LastFmTreeModel.cpp:56:125: error: invalid use of incomplete type ‘class QPixmap’ In file included from /usr/include/qt4/QtCore/QMetaType:1:0, from /home/flummi/src/amarok/src/core/meta/Meta.h:27, from /home/flummi/src/amarok/build/src/services/lastfm/../../../../src/services/lastfm/LastFmTreeModel.h:22, from /home/flummi/src/amarok/build/src/services/lastfm/moc_LastFmTreeModel.cpp:10, from /home/flummi/src/amarok/build/src/services/lastfm/amarok_service_lastfm_automoc.cpp:4: /usr/include/qt4/QtCore/qmetatype.h:320:7: error: forward declaration of ‘class QPixmap’ In file included from /home/flummi/src/amarok/build/src/services/lastfm/moc_LastFmTreeModel.cpp:10:0, from /home/flummi/src/amarok/build/src/services/lastfm/amarok_service_lastfm_automoc.cpp:4: /home/flummi/src/amarok/build/src/services/lastfm/../../../../src/services/lastfm/LastFmTreeModel.h:116:10: error: initializing argument 2 of ‘void LastFmTreeModel::onAvatarDownloaded(const QString&, QPixmap)’ Including QPixmap in src/services/lastfm/LastFmTreeModel.h seems to fix it for me.