Pure Qt kde-connect lib aka KDE Connect for Jolla aka port KDE Connect to Blackberry

Aleix Pol aleixpol at kde.org
Tue Mar 24 12:47:10 UTC 2015


On Tue, Mar 24, 2015 at 1:40 PM, Alejandro Díaz <ealejandro at outlook.com> wrote:
> Hello,
>
>> Date: Tue, 24 Mar 2015 12:49:45 +0100
>> From: joerg at chaosdorf.de
>> To: kdeconnect at kde.org
>> Subject: Re: Pure Qt kde-connect lib aka KDE Connect for Jolla aka port
>> KDE Connect to Blackberry
>>
>> Hi,
>>
>> On 2015-03-23 18:32, Alejandro Díaz wrote:
>> > No I didn't update the code yet, actually I ran into another issue as
>> > BlackBerry‎10 doesn't support Qt5 I had to backport your code to Qt4
>> >
>> Ah yes I've forgotten it.
>> First, I wanted to test on Jolla devices :-/ and my hope was that
>> Blackberry would also change in the next time to Qt5... I think you
>> should only change the Qt version in the CMakeLists.txt, or?
>
> Your code was mostly Qt4 compatible except for the usage of QJsonObject in
> NetworkPackage.h, changed that to use QJson instead and changed the
> CMakeLists.txt accordingly
>
>> > but I haven't been able to cross-compile QJson,
>> >
>> Hm, you use the source from http://qjson.sourceforge.net or?
>
> I used the code hosted at https://github.com/flavio/qjson, I was able to
> cross-compile it linking against libstdc++ but that doesn't really help us
> much.
>
>> > I believe it's an
>> > issue related to linking against Dinkum library instead of libstdc++
>> >
>> Yep, Dinkum lib is very different. I have also fix some issue in the
>> boost
>> libs also. May, I can help you?
>
> Sure, if you can give it a shot at compiling QJson that's where I'm stuck
> at.
>
>> Jörg

You guys understand that it will be vastly more maintainable if you
guys use the Qt5 version, right?
Qt5 is not distributed with blackberry but it's available to use.
Maybe you can set up an interface <-> service set up like we have for
Plasma, so you can still use Cascades.

Aleix


More information about the KDEConnect mailing list