Re: [SailfishDevel] Using QtBluetooth 5.4 Backport in a harbour-app

2015-01-18 Thread Aaron McCarthy
Hi,

On Sat, 17 Jan 2015 12:29:06 Harald Schmitt wrote:
> After updating to the latest sdk
> (SailfishOSSDK-Beta-1412-Qt5-linux-64-offline.run) the bib did not build
> alltough I added the required library (bluez-libs-devel) and synced the
> target within qt creator it did not sucessfully do the
> qtCompileTest(bluez)
> After numerous tries I added the line
> CONFIG+=recheck
> with this qt does not cache the qtCompileTest results.
> This did the trick and after one build I could remove the line again and
> even after qtcreator restart it builds correctly.
> Strange!!!

To rerun the compile tests you can remove the .qmake.cache file from your 
build directory.

Cheers,

-- 
Aaron McCarthy
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Using QtBluetooth 5.4 Backport in a harbour-app

2015-01-17 Thread Harald Schmitt
Am 08.01.2015 um 11:13 schrieb Harald Schmitt:
> Am 05.01.2015 um 01:56 schrieb Aaron McCarthy:
>> On Mon, 15 Dec 2014 17:53:34 Harald Schmitt wrote:
>>> Am 15.12.2014 um 13:35 schrieb Harald Schmitt:
 Am 11.12.2014 um 17:45 schrieb Harald Schmitt:
> Am 10.12.2014 um 18:24 schrieb Richard Rondu:
>> Hi, the backport is not completely up-to-date with QtBluetooth 5.4, I
>> have to update it. Nevertheless It should work with standard
>> bluetooth, I haven't tried with BLE though.
>> Other part of QtConnectivity that are not QtBluetooth haven't been
>> tried either (NFC and so on). I even think I have even disabled the
>> build.
>>
>> Nevertheless, here are the relevant part of the .yaml file and the
>> .pro file I use for "Parrot ZIK 2.0 Manager" in  harbour that ship
>> with this backport.
>>
>> You have to build QtBluetooth backport separately with the sailfish
>> sdk, then put the .so file(s) in a "lib" subdirectory inside your
>> project.
> thanks that got me started. I hope I can dedicate enough time to bring a
> Xiaomi MiBand app to the harbour.
 While building qtconnectivity with the sdk I get the following message

 Project MESSAGE: Unsupported Bluetooth platform, will not build a
 working QtBluetooth library.

 Project MESSAGE: Either no Qt D-Bus found or no BlueZ headers.


 qtHaveModule(dbus) returns false. Do you have any idea?
>>> I made a mistake, actually config_bluez returns false and
>>> qtHaveModule(dbus) returns true. But still I don't know why.
>> Try to determine why the BlueZ config test failed. You can manually try to 
>> build the config test project in qtconnectivity/config.tests/bluez. It uses 
>> pkgconfig to find the required headers and libraries. Ensure that the 
>> required 
>> development packages are installed.
> Thanks, it works now. I can connect to a BLE device using the
> QLowEnergyController class if I know the device address.
> The discovery does not find BLE devices only normal Bluetooth devices.
After updating to the latest sdk
(SailfishOSSDK-Beta-1412-Qt5-linux-64-offline.run) the bib did not build
alltough I added the required library (bluez-libs-devel) and synced the
target within qt creator it did not sucessfully do the
qtCompileTest(bluez)
After numerous tries I added the line
CONFIG+=recheck
with this qt does not cache the qtCompileTest results.
This did the trick and after one build I could remove the line again and
even after qtcreator restart it builds correctly.
Strange!!!
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Using QtBluetooth 5.4 Backport in a harbour-app

2015-01-08 Thread Harald Schmitt
Am 05.01.2015 um 01:56 schrieb Aaron McCarthy:
> On Mon, 15 Dec 2014 17:53:34 Harald Schmitt wrote:
>> Am 15.12.2014 um 13:35 schrieb Harald Schmitt:
>>> Am 11.12.2014 um 17:45 schrieb Harald Schmitt:
 Am 10.12.2014 um 18:24 schrieb Richard Rondu:
> Hi, the backport is not completely up-to-date with QtBluetooth 5.4, I
> have to update it. Nevertheless It should work with standard
> bluetooth, I haven't tried with BLE though.
> Other part of QtConnectivity that are not QtBluetooth haven't been
> tried either (NFC and so on). I even think I have even disabled the
> build.
>
> Nevertheless, here are the relevant part of the .yaml file and the
> .pro file I use for "Parrot ZIK 2.0 Manager" in  harbour that ship
> with this backport.
>
> You have to build QtBluetooth backport separately with the sailfish
> sdk, then put the .so file(s) in a "lib" subdirectory inside your
> project.
 thanks that got me started. I hope I can dedicate enough time to bring a
 Xiaomi MiBand app to the harbour.
>>> While building qtconnectivity with the sdk I get the following message
>>>
>>> Project MESSAGE: Unsupported Bluetooth platform, will not build a
>>> working QtBluetooth library.
>>>
>>> Project MESSAGE: Either no Qt D-Bus found or no BlueZ headers.
>>>
>>>
>>> qtHaveModule(dbus) returns false. Do you have any idea?
>> I made a mistake, actually config_bluez returns false and
>> qtHaveModule(dbus) returns true. But still I don't know why.
> Try to determine why the BlueZ config test failed. You can manually try to 
> build the config test project in qtconnectivity/config.tests/bluez. It uses 
> pkgconfig to find the required headers and libraries. Ensure that the 
> required 
> development packages are installed.
Thanks, it works now. I can connect to a BLE device using the
QLowEnergyController class if I know the device address.
The discovery does not find BLE devices only normal Bluetooth devices.


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Using QtBluetooth 5.4 Backport in a harbour-app

2015-01-04 Thread Aaron McCarthy
On Mon, 15 Dec 2014 17:53:34 Harald Schmitt wrote:
> Am 15.12.2014 um 13:35 schrieb Harald Schmitt:
> > Am 11.12.2014 um 17:45 schrieb Harald Schmitt:
> >> Am 10.12.2014 um 18:24 schrieb Richard Rondu:
> >>> Hi, the backport is not completely up-to-date with QtBluetooth 5.4, I
> >>> have to update it. Nevertheless It should work with standard
> >>> bluetooth, I haven't tried with BLE though.
> >>> Other part of QtConnectivity that are not QtBluetooth haven't been
> >>> tried either (NFC and so on). I even think I have even disabled the
> >>> build.
> >>> 
> >>> Nevertheless, here are the relevant part of the .yaml file and the
> >>> .pro file I use for "Parrot ZIK 2.0 Manager" in  harbour that ship
> >>> with this backport.
> >>> 
> >>> You have to build QtBluetooth backport separately with the sailfish
> >>> sdk, then put the .so file(s) in a "lib" subdirectory inside your
> >>> project.
> >> 
> >> thanks that got me started. I hope I can dedicate enough time to bring a
> >> Xiaomi MiBand app to the harbour.
> > 
> > While building qtconnectivity with the sdk I get the following message
> > 
> > Project MESSAGE: Unsupported Bluetooth platform, will not build a
> > working QtBluetooth library.
> > 
> > Project MESSAGE: Either no Qt D-Bus found or no BlueZ headers.
> > 
> > 
> > qtHaveModule(dbus) returns false. Do you have any idea?
> 
> I made a mistake, actually config_bluez returns false and
> qtHaveModule(dbus) returns true. But still I don't know why.

Try to determine why the BlueZ config test failed. You can manually try to 
build the config test project in qtconnectivity/config.tests/bluez. It uses 
pkgconfig to find the required headers and libraries. Ensure that the required 
development packages are installed.

Cheers,

-- 
Aaron McCarthy
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Using QtBluetooth 5.4 Backport in a harbour-app

2014-12-15 Thread Harald Schmitt
Am 15.12.2014 um 13:35 schrieb Harald Schmitt:
> Am 11.12.2014 um 17:45 schrieb Harald Schmitt:
>> Am 10.12.2014 um 18:24 schrieb Richard Rondu:
>>> Hi, the backport is not completely up-to-date with QtBluetooth 5.4, I
>>> have to update it. Nevertheless It should work with standard
>>> bluetooth, I haven't tried with BLE though. 
>>> Other part of QtConnectivity that are not QtBluetooth haven't been
>>> tried either (NFC and so on). I even think I have even disabled the
>>> build.
>>>
>>> Nevertheless, here are the relevant part of the .yaml file and the
>>> .pro file I use for "Parrot ZIK 2.0 Manager" in  harbour that ship
>>> with this backport.
>>>
>>> You have to build QtBluetooth backport separately with the sailfish
>>> sdk, then put the .so file(s) in a "lib" subdirectory inside your project.
>> thanks that got me started. I hope I can dedicate enough time to bring a
>> Xiaomi MiBand app to the harbour.
> While building qtconnectivity with the sdk I get the following message
>
> Project MESSAGE: Unsupported Bluetooth platform, will not build a
> working QtBluetooth library.
>
> Project MESSAGE: Either no Qt D-Bus found or no BlueZ headers.
>
>
> qtHaveModule(dbus) returns false. Do you have any idea?
I made a mistake, actually config_bluez returns false and
qtHaveModule(dbus) returns true. But still I don't know why.
>>> Regards,
>>> Richard (lainwir3d)
>>>
>>> On Wed, Dec 10, 2014 at 11:13 AM, Harald Schmitt >> > wrote:
>>>
>>> Hi,
>>>
>>> I'd like to develop an harbour app that uses a backported version of
>>> QtConnectivity 5.4 in my app and ship it with my app.
>>> It is available from here:
>>> https://github.com/lainwir3d/qtconnectivity/tree/5.4_sailfish_backport
>>> Can you help me with the .pro and .yaml file?
>>> Do I have to setup something in the emulators?
>>>
>>> Best regards,
>>> Harald
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
>>> devel-unsubscr...@lists.sailfishos.org
>>> 
>>>
>>>
>>>
>>>
>>> -- 
>>>
>>> Richard Rondu
>>>
>>> Responsable de projet 
>>>
>>> EIREL
>>>
>>> 33, av. Claude Debussy
>>>
>>> 92588 Clichy Cedex
>>>
>>> Tél: 0141401263
>>>
>>> Fax: 0141400238
>>>
>>>  
>>>
>>>
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
>>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
>

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Using QtBluetooth 5.4 Backport in a harbour-app

2014-12-15 Thread Harald Schmitt
Am 11.12.2014 um 17:45 schrieb Harald Schmitt:
> Am 10.12.2014 um 18:24 schrieb Richard Rondu:
>> Hi, the backport is not completely up-to-date with QtBluetooth 5.4, I
>> have to update it. Nevertheless It should work with standard
>> bluetooth, I haven't tried with BLE though. 
>> Other part of QtConnectivity that are not QtBluetooth haven't been
>> tried either (NFC and so on). I even think I have even disabled the
>> build.
>>
>> Nevertheless, here are the relevant part of the .yaml file and the
>> .pro file I use for "Parrot ZIK 2.0 Manager" in  harbour that ship
>> with this backport.
>>
>> You have to build QtBluetooth backport separately with the sailfish
>> sdk, then put the .so file(s) in a "lib" subdirectory inside your project.
> thanks that got me started. I hope I can dedicate enough time to bring a
> Xiaomi MiBand app to the harbour.
While building qtconnectivity with the sdk I get the following message

Project MESSAGE: Unsupported Bluetooth platform, will not build a
working QtBluetooth library.

Project MESSAGE: Either no Qt D-Bus found or no BlueZ headers.


qtHaveModule(dbus) returns false. Do you have any idea?
>> Regards,
>> Richard (lainwir3d)
>>
>> On Wed, Dec 10, 2014 at 11:13 AM, Harald Schmitt > > wrote:
>>
>> Hi,
>>
>> I'd like to develop an harbour app that uses a backported version of
>> QtConnectivity 5.4 in my app and ship it with my app.
>> It is available from here:
>> https://github.com/lainwir3d/qtconnectivity/tree/5.4_sailfish_backport
>> Can you help me with the .pro and .yaml file?
>> Do I have to setup something in the emulators?
>>
>> Best regards,
>> Harald
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>> 
>>
>>
>>
>>
>> -- 
>>
>> Richard Rondu
>>
>> Responsable de projet 
>>
>> EIREL
>>
>> 33, av. Claude Debussy
>>
>> 92588 Clichy Cedex
>>
>> Tél: 0141401263
>>
>> Fax: 0141400238
>>
>>  
>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
>

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Using QtBluetooth 5.4 Backport in a harbour-app

2014-12-11 Thread Harald Schmitt
Am 10.12.2014 um 18:24 schrieb Richard Rondu:
> Hi, the backport is not completely up-to-date with QtBluetooth 5.4, I
> have to update it. Nevertheless It should work with standard
> bluetooth, I haven't tried with BLE though. 
> Other part of QtConnectivity that are not QtBluetooth haven't been
> tried either (NFC and so on). I even think I have even disabled the
> build.
>
> Nevertheless, here are the relevant part of the .yaml file and the
> .pro file I use for "Parrot ZIK 2.0 Manager" in  harbour that ship
> with this backport.
>
> You have to build QtBluetooth backport separately with the sailfish
> sdk, then put the .so file(s) in a "lib" subdirectory inside your project.
thanks that got me started. I hope I can dedicate enough time to bring a
Xiaomi MiBand app to the harbour.
>
> Regards,
> Richard (lainwir3d)
>
> On Wed, Dec 10, 2014 at 11:13 AM, Harald Schmitt  > wrote:
>
> Hi,
>
> I'd like to develop an harbour app that uses a backported version of
> QtConnectivity 5.4 in my app and ship it with my app.
> It is available from here:
> https://github.com/lainwir3d/qtconnectivity/tree/5.4_sailfish_backport
> Can you help me with the .pro and .yaml file?
> Do I have to setup something in the emulators?
>
> Best regards,
> Harald
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
> 
>
>
>
>
> -- 
>
> Richard Rondu
>
> Responsable de projet 
>
> EIREL
>
> 33, av. Claude Debussy
>
> 92588 Clichy Cedex
>
> Tél: 0141401263
>
> Fax: 0141400238
>
>  
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Using QtBluetooth 5.4 Backport in a harbour-app

2014-12-10 Thread Aaron McCarthy
On Wed, 10 Dec 2014 18:24:50 Richard Rondu wrote:
> Hi, the backport is not completely up-to-date with QtBluetooth 5.4, I have
> to update it. Nevertheless It should work with standard bluetooth, I
> haven't tried with BLE though.
> Other part of QtConnectivity that are not QtBluetooth haven't been tried
> either (NFC and so on). I even think I have even disabled the build.

There is no Linux backend implemented in the Qt NFC library.

Cheers,

-- 
Aaron McCarthy
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Using QtBluetooth 5.4 Backport in a harbour-app

2014-12-10 Thread Richard Rondu
Hi, the backport is not completely up-to-date with QtBluetooth 5.4, I have
to update it. Nevertheless It should work with standard bluetooth, I
haven't tried with BLE though.
Other part of QtConnectivity that are not QtBluetooth haven't been tried
either (NFC and so on). I even think I have even disabled the build.

Nevertheless, here are the relevant part of the .yaml file and the .pro
file I use for "Parrot ZIK 2.0 Manager" in  harbour that ship with this
backport.

You have to build QtBluetooth backport separately with the sailfish sdk,
then put the .so file(s) in a "lib" subdirectory inside your project.

Regards,
Richard (lainwir3d)

On Wed, Dec 10, 2014 at 11:13 AM, Harald Schmitt  wrote:

> Hi,
>
> I'd like to develop an harbour app that uses a backported version of
> QtConnectivity 5.4 in my app and ship it with my app.
> It is available from here:
> https://github.com/lainwir3d/qtconnectivity/tree/5.4_sailfish_backport
> Can you help me with the .pro and .yaml file?
> Do I have to setup something in the emulators?
>
> Best regards,
> Harald
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>



-- 

Richard Rondu

Responsable de projet

EIREL

33, av. Claude Debussy

92588 Clichy Cedex

Tél: 0141401263

Fax: 0141400238


harbour-zik2-manager.yaml
Description: application/yaml


harbour-zik2-manager.pro
Description: Binary data
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Using QtBluetooth 5.4 Backport in a harbour-app

2014-12-10 Thread Harald Schmitt
Hi,

I'd like to develop an harbour app that uses a backported version of
QtConnectivity 5.4 in my app and ship it with my app.
It is available from here:
https://github.com/lainwir3d/qtconnectivity/tree/5.4_sailfish_backport
Can you help me with the .pro and .yaml file?
Do I have to setup something in the emulators?

Best regards,
Harald

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org