KF5 port continued

Olivier Churlaud olivier at churlaud.com
Wed Sep 9 18:21:45 UTC 2015


Hi,

I'll send tomorrow the porting of main and App to KF5...

I'll tell you if i have some troubles.

Cheers
Olivier



Sur 7 sept. 2015 17:55, à 17:55, Olivier Churlaud <olivier at churlaud.com> a écrit:
>Hi,
>
>First of all, I join Stefan to say thx to Somsubhra !
>
>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.
>By doing this, we'll be able to port main.cpp.
>
>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
>:)
>
>I would recommend 
>https://conf.kde.org/system/attachments/36/original/porting_to_kde_frameworks_5.pdf
>
>and what I already did in src/context/tools/amarpokpkg.cpp  (not
>perfect 
>but still something) to port the main.cpp file.
>
>After this, launching the minimal Amarok and debugging it will be
>easier.
>
>Have fun!
>
>Cheers,
>Olivier
>
>Olivier CHURLAUD
>Engineer Student at Ecole Centrale de Lyon
>in Dual Degree at TU Berlin, M.Sc. Elektrotechnik
>@: olivier at churlaud.com
>tel: +49 (0)1575-2931348
>in:  http://linkedin.com/in/olivierchurlaud
>web: http://olivier.churlaud.com
>
>Le 06/09/2015 02:22, Stefan Derkits a écrit :
>> 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
>>
>>
>>
>> _______________________________________________
>> Amarok-devel mailing list
>> Amarok-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/amarok-devel
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Amarok-devel mailing list
>Amarok-devel at kde.org
>https://mail.kde.org/mailman/listinfo/amarok-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20150909/79659a5a/attachment.html>


More information about the Amarok-devel mailing list