This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Build Amarok 2.6 GIT

Tags: None
(comma "," separated)
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS

Build Amarok 2.6 GIT

Sat Aug 25, 2012 3:27 pm
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.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Build Amarok 2.6 GIT

Sat Aug 25, 2012 3:46 pm
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 ...
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS

Re: Build Amarok 2.6 GIT

Sat Aug 25, 2012 6:57 pm
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.
User avatar
strohel
KDE Developer
Posts
54
Karma
0
OS

Sat Aug 25, 2012 8:20 pm
m0nk,
can you please ensure this is caused by the latest commits? Please do:
git checkout 4dca35b0d7c53b5626a25e05282e0025b78f7aaf
and then build & install as usual
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS

Re: Build Amarok 2.6 GIT

Sat Aug 25, 2012 9:00 pm
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.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Build Amarok 2.6 GIT

Sat Aug 25, 2012 9:03 pm
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 ...
User avatar
Sentynel
KDE Developer
Posts
285
Karma
1
OS

Re: Build Amarok 2.6 GIT  Topic is solved

Sat Aug 25, 2012 10:41 pm
Please update and try rebuilding; this should be fixed.


User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Build Amarok 2.6 GIT

Mon Aug 27, 2012 2:56 am
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]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]