<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>   <br><br>
Message: 1<br>
Date: Sun, 6 Sep 2015 02:22:43 +0200<br>
From: Stefan Derkits <<a href="mailto:stefan@derkits.at">stefan@derkits.at</a>><br>
To: <a href="mailto:amarok-devel@kde.org">amarok-devel@kde.org</a><br>
Subject: KF5 port continued<br>
Message-ID: <<a href="mailto:55EB8753.5080706@derkits.at">55EB8753.5080706@derkits.at</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hey,<br>
<br></blockquote><div>hello,</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
thanks Somsubhra for making the port compile.<br>
<br>
I compiled it and got a segfault related to liblastfm. Please note that<br>
the Qt5 liblastfm is called liblastfm5.so, I changed this for lastfm &<br>
mygpo-qt in CMakeLists<br>
<br></blockquote><div><br></div><div>after applying Somsubhra's patch the make command  didn't produce any error, the code  built completely .I didn't get any segfault as you have mentioned .Did you make any other changes ?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
QJson is also not ported to Qt5 [there exists JSON functionality in Qt5<br>
directly) (can someone find out if it is really only used for the<br>
playdar collection?)<br>
<br></blockquote><div>Qjson package is  included only in the cmakelists.txt of playdar collection. So i guess its only used for playdar collection</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
After these two CMake fixes, I get a segfault in:<br>
main.cpp line 311<br>
<br>
I think it is related to the following:<br>
KAboutData is KF5 only but KUniqueApplication is KDELibs4Support only.<br>
The KDELibs4Support version of KAboutData is k4aboutdata.h &<br>
K4AboutData. Tried to only use k4aboutdata, Amarok has problems to<br>
compile OcsData.h<br>
<br></blockquote><div>Couldn't get here as the code compiled fine.If you made any other changes then please share .</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So next porting steps seem to be:<br>
Change to K4AboutData and see if it fixes this segfault or port away<br>
from KUniqueApplication<br>
<br>
Stefan<br>
<br></blockquote><div>thank you,</div><div>rishabh </div></div></div></div>