<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Le 14/09/2015 13:29, Aditya Sharma a écrit :<br>
<blockquote
cite="mid:CALHAJW7pyRixDheBqGztxefg9JM4GkGHabte8MOsqqRjGYbZcg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
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>
</blockquote>
<div><br>
</div>
<div>Exactly what changes did you make in the files ? Did
you or anyone else commit these to the KF5 branch ?</div>
<div> </div>
<div>I was getting liblastfm error at first. I installed
some more packages. gdb then *did not* give an error
regarding liblastfm, but gave a qhash error. I did a
backtrace, but cannot make out much from it, except
liblastfm.</div>
<div><a moz-do-not-send="true"
href="https://paste.kde.org/pqkgrwhuq">Backtrace</a><br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
On my side, I'm on the last commit of the KF5 branch...<br>
<br>
If you want to debug it you can also use the --debug option to know
in which function it crashes.<br>
<br>
<blockquote
cite="mid:CALHAJW7pyRixDheBqGztxefg9JM4GkGHabte8MOsqqRjGYbZcg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"><br>
<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>
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>
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>
<span class="HOEnZb"><font color="#888888"><br>
Stefan</font></span></blockquote>
<div><br>
</div>
<div>--</div>
<div>Thanks</div>
<div>Aditya Dev Sharma </div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Amarok-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Amarok-devel@kde.org">Amarok-devel@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/amarok-devel">https://mail.kde.org/mailman/listinfo/amarok-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>