<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 href="https://paste.kde.org/pqkgrwhuq">Backtrace</a><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
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>