<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi, <br>
    <br>
    First of all, I join Stefan to say thx to Somsubhra ! <br>
    <br>
    The next step is to port the class App out of KUniqueApplication. I
    think we could in the same time port it out of KCmdLineParser
    because porting to QCommandLineParser is not so difficult. <br>
    By doing this, we'll be able to port main.cpp.<br>
    <br>
    I'll begin this in the next days. If someone already began or wants
    to earlier, please tell it on the mailinglist, So that we can
    synchronize :)<br>
    <br>
    I would recommend
    <a class="moz-txt-link-freetext" href="https://conf.kde.org/system/attachments/36/original/porting_to_kde_frameworks_5.pdf">https://conf.kde.org/system/attachments/36/original/porting_to_kde_frameworks_5.pdf</a>
    and what I already did in src/context/tools/amarpokpkg.cpp  (not
    perfect but still something) to port the main.cpp file.<br>
    <br>
    After this, launching the minimal Amarok and debugging it will be
    easier. <br>
    <br>
    Have fun!<br>
    <br>
    Cheers,<br>
    Olivier<br>
    <pre class="moz-signature" cols="72">Olivier CHURLAUD
Engineer Student at Ecole Centrale de Lyon
in Dual Degree at TU Berlin, M.Sc. Elektrotechnik
@: <a class="moz-txt-link-abbreviated" href="mailto:olivier@churlaud.com">olivier@churlaud.com</a>
tel: +49 (0)1575-2931348
in:  <a class="moz-txt-link-freetext" href="http://linkedin.com/in/olivierchurlaud">http://linkedin.com/in/olivierchurlaud</a>
web: <a class="moz-txt-link-freetext" href="http://olivier.churlaud.com">http://olivier.churlaud.com</a> </pre>
    <div class="moz-cite-prefix">Le 06/09/2015 02:22, Stefan Derkits a
      écrit :<br>
    </div>
    <blockquote cite="mid:55EB8753.5080706@derkits.at" type="cite">
      <pre wrap="">Hey,

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

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

</pre>
      <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>