Backport Qt WebSockets

asked 2016-04-18 11:34:51 +0200

Andy Branson gravatar image

Hi,

We need WebSockets in our Rockpool pebble application, and the upstream RockWork Ubuntu project uses Qt WebSockets API for this. They're on Qt 5.5 though, and it wasn't part of Qt 5.2 so we don't have it. It does build and work on 5.2 though, and we're currently using Coderus' build from here:

https://openrepos.net/content/coderus/qt5websockets

Would there be any chance of backporting this into the current Sailfish? It's very much an addon, so afaik it doesn't impact anything else. Of course, harbour approval is not part of this request - we're a long way from that.

edit retag flag offensive close delete

Comments

1

Hello ! When building the application, maybe you could statically build QtWebSockets, so that it is part of your package.

Sfiet_Konstantin ( 2016-04-19 18:33:46 +0200 )edit

I'm not a fan of statically linking libs :) First off we were using coderus' build of it on openrepos, but now I've done my own so upgrade will pull it in automatically. I just think such things as Qt libs should be included in the distribution...

Andy Branson ( 2016-04-19 19:42:15 +0200 )edit

You can still dynamically link it :) I would wait for a Qt update (if it happen at some point)

Sfiet_Konstantin ( 2016-04-19 19:56:56 +0200 )edit

Sure, but as it's compatible with 5.x, it's a much simpler request than a Qt update. Just really needs building and sticking in the repo. Doesn't even need to be pulled in by default.

Andy Branson ( 2016-04-19 21:10:33 +0200 )edit
1

just built 2.0.5 and GPL2 compatible version here: https://build.merproject.org/package/show/home:coderus:sailfish/qtwebsockets

and latest dev version here: https://build.merproject.org/package/show/home:coderus:2.1/qtwebsockets-dev

coderus ( 2017-03-10 13:59:13 +0200 )edit