Le 14/09/2015 13:29, Aditya Sharma a écrit :


    thanks Somsubhra for making the port compile.

    I compiled it and got a segfault related to liblastfm. Please note
    that
    the Qt5 liblastfm is called liblastfm5.so, I changed this for lastfm &
    mygpo-qt in CMakeLists


Exactly what changes did you make in the files ? Did you or anyone else commit these to the KF5 branch ? 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.
Backtrace <https://paste.kde.org/pqkgrwhuq>

On my side, I'm on the last commit of the KF5 branch...

If you want to debug it you can also use the --debug option to know in which function it crashes.


    QJson is also not ported to Qt5 [there exists JSON functionality
    in Qt5
    directly) (can someone find out if it is really only used for the
    playdar collection?)

    After these two CMake fixes, I get a segfault in:
    main.cpp line 311

    I think it is related to the following:
    KAboutData is KF5 only but KUniqueApplication is KDELibs4Support only.
    The KDELibs4Support version of KAboutData is k4aboutdata.h &
    K4AboutData. Tried to only use k4aboutdata, Amarok has problems to
    compile OcsData.h

    So next porting steps seem to be:
    Change to K4AboutData and see if it fixes this segfault or port away
    from KUniqueApplication

    Stefan


--
Thanks
Aditya Dev Sharma


_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel

_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel

Reply via email to