Registered Member
|
In file included from /home/ds/Download/SVN/amarok/build/src/services/lastfm/amarok_service_lastfm_automoc.cpp:4:0:
/home/ds/Download/SVN/amarok/build/src/services/lastfm/moc_LastFmTreeModel.cpp: In static member function ‘static void LastFmTreeModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’: /home/ds/Download/SVN/amarok/build/src/services/lastfm/moc_LastFmTreeModel.cpp:56:125: error: invalid use of incomplete type ‘struct QPixmap’ /usr/include/QtCore/qmetatype.h:320:7: error: forward declaration of ‘struct QPixmap’ /home/ds/Download/SVN/amarok/build/src/services/lastfm/../../../../src/services/lastfm/LastFmTreeModel.h:116:10: error: initializing argument 2 of ‘void LastFmTreeModel::onAvatarDownloaded(const QString&, QPixmap)’ make[2]: *** [src/services/lastfm/CMakeFiles/amarok_service_lastfm.dir/amarok_service_lastfm_automoc.o] Fehler 1 make[1]: *** [src/services/lastfm/CMakeFiles/amarok_service_lastfm.dir/all] Fehler 2 make: *** [all] Fehler 2 QT 4.8.2 KDE 4.9.0 liblastfm-1.0.2 Da ich hier grau auf grau schreibe, ist vielleicht nicht alles drin. Ich liebe das neue Design:-( m0nk
If men could get pregnant, abortion would be a sacrament.
|
Manager
|
Which commit is the last you have? It builds fine here with the last git checkout.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
commit 082d4ece568421d52ad7d2c8f587ee8397b37b39
Author: Matěj Laitl <matej@laitl.cz> Date: Sat Aug 25 15:42:30 2012 +0200 m0nk
If men could get pregnant, abortion would be a sacrament.
|
KDE Developer
|
|
Registered Member
|
Same error as in my initial post:
[ 94%] Building CXX object src/services/lastfm/CMakeFiles/amarok_service_lastfm.dir/amarok_service_lastfm_automoc.o In file included from /home/ds/Download/SVN/amarok/build/src/services/lastfm/amarok_service_lastfm_automoc.cpp:4:0: /home/ds/Download/SVN/amarok/build/src/services/lastfm/moc_LastFmTreeModel.cpp: In static member function ‘static void LastFmTreeModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’: /home/ds/Download/SVN/amarok/build/src/services/lastfm/moc_LastFmTreeModel.cpp:56:125: error: invalid use of incomplete type ‘struct QPixmap’ /usr/include/QtCore/qmetatype.h:320:7: error: forward declaration of ‘struct QPixmap’ /home/ds/Download/SVN/amarok/build/src/services/lastfm/../../../../src/services/lastfm/LastFmTreeModel.h:116:10: error: initializing argument 2 of ‘void LastFmTreeModel::onAvatarDownloaded(const QString&, QPixmap)’ make[2]: *** [src/services/lastfm/CMakeFiles/amarok_service_lastfm.dir/amarok_service_lastfm_automoc.o] Fehler 1 make[1]: *** [src/services/lastfm/CMakeFiles/amarok_service_lastfm.dir/all] Fehler 2 make: *** [all] Fehler 2 m0nk
If men could get pregnant, abortion would be a sacrament.
|
Manager
|
Could you please try a clean build? You might have to wipe ccache as well if just erasing the build folder is not enough.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
KDE Developer
|
Please update and try rebuilding; this should be fixed.
|
Administrator
|
If you have self installed liblastfm, you may also wish to download the latest required version, in case of a compatibility issue there.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]