> Von: Simon FEUTRIER <sfeutr...@bluegriot.com> > Gesendet: Freitag, 21. August 2020 17:31 > An: Kai Köhne <kai.koe...@qt.io> > Cc: Jérôme Godbout <godbo...@amotus.ca>; interest@qt-project.org > Betreff: Re: [Interest] BLE : Bonding and ble security > > Kai, > > Thank you for your message! I tried and it is well recognized when building > but seems to have no effect ( for example qtbluetooth-config.pri file is not > changed ). > I tried the same syntaxe that you gave me with native-win32-bluetooth and > this one works perfectly. I have no idea why ^^.
Check out qtbluetooth-config_p.pri, since 'winrt_btle_no_pairing' is a private feature of Qt Bluetooth. In latest 5.15, depending on whether I pass - feature-winrt_btle_no_pairing -no-feature-winrt_btle_no_pairing , the define QT_FEATURE_winrt_btle_no_pairing in this file is either defined to 1 or -1 for me. > [...] > Le ven. 21 août 2020 à 16:43, Kai Köhne <mailto:kai.koe...@qt.io> a écrit : > Hi, > >> Von: Interest <mailto:interest-boun...@qt-project.org> Im Auftrag von Simon >> FEUTRIER >> Betreff: Re: [Interest] BLE : Bonding and ble security >> >> I'm trying to use "winrt_btle_no_pairing" with QT_CONFIG(feature) to change >> this >> default behaviour. But I swear I'm trying for 2 hours and I cannot achieve >> it. I don't see > where / how I can put this with Qt Creator. > > winrt_btle_no_pairing is a configure option that you have to set before > building Qt (and not your application). > > If you do a top-level build of Qt, you can pass it to configure > > configure -feature-winrt_btle_no_pairing > > if you do a build of just qtconnectivity, the syntax is > > qmake -- -feature-winrt_btle_no_pairing > > > Hope this helps, > < Kai _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest