We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

Using QLowEnergyController?

asked 2017-06-17 00:14:14 +0300

updated 2017-06-20 22:55:29 +0300

Hello all,

I would like to develop an application which would communicate with a BLE device. I have heard that the latest Iljoki update included update to Qt 5.6 which should support the BLE.

I have created an app, but the compilation failed by not finding the QLowEnergyController header.

  • The MerSDK maintainance tool says my environment up to date
  • qt5-qtconnectivity-devel package is installed on my target
  • QT += bluetooth is added to the .pro file

Any help would be deeply appericiated!

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-06-17 08:21:05 +0300

updated 2017-06-17 08:21:30 +0300

Sailfish OS 2.1.0 included a developer preview of Bluez5 you have to install it manually on the device. The release should be included in the following updates.

edit flag offensive delete publish link more

Comments

Well my current problem lives at the compilation stage where the packages/contents of the SDK VM in the game. I have not got to the deployment process yet.

martonmiklos ( 2017-06-17 09:42:07 +0300 )edit

That's all I know about it. I develop mostly in Python and QML on SailfishOS so I can't help you further. I'm sorry.

Dylan Van Assche ( 2017-06-18 11:47:39 +0300 )edit
1

Thanks anyway, compiled stuff are a bit different, these kind of problems revealed before the actual deployment :).

I think because Bluez5 is not rolled out they have not boundled it to the production SDK.

martonmiklos ( 2017-06-18 12:16:10 +0300 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2017-06-17 00:14:14 +0300

Seen: 555 times

Last updated: Jun 20 '17