Results 1 to 5 of 5

Thread: Cannot find my local Bluetooth module

  1. #1
    Join Date
    Jul 2016
    Posts
    41
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Cannot find my local Bluetooth module

    Hello!

    There is Bluetooth module on my laptop, but my program cannot detect it.

    This is my code:
    QBluetoothLocalDevice device;
    bool vaalid;
    vaalid=device.isValid();
    device.name();
    if(vaalid==true) ui->label->setText("It is module!");
    else{ui->label->setText("no module!");}

    ui->lineEdit->setText(addres->toString());
    ui->lineEdit_2->setText(device.name());
    The result is: no module! address 00:00:00:00:00:00, although Bluetooth is and works perfectly
    What is wrong with my code?
    Operat. System: Windows 7 and Windows 8

    Thank you!

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Cannot find my local Bluetooth module

    Have you built the experimental support module for Windows?

    I.e. the supported platform in the released versions are Linux, OSX, Android and iOS.

    Cheers,
    _

  3. #3
    Join Date
    Jul 2016
    Posts
    41
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Cannot find my local Bluetooth module

    Thank you! I tried on Windows 8.1, now I will try on Ubuntu.
    Sorry, what do you mean by "experimental support module for Windows" ?
    Is it some tool or what?

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Cannot find my local Bluetooth module

    There is a work branch for Windows support in the qtconnectivity git repository
    https://bugreports.qt.io/browse/QTBUG-40698

    If you haven't checked that out, built and installed, then there is no support on Windows.

    Cheers,
    _

  5. #5
    Join Date
    Jul 2016
    Posts
    41
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Cannot find my local Bluetooth module

    Thank you very much!

Similar Threads

  1. Qt and Bluetooth
    By Blitzor DDD in forum Qt Tools
    Replies: 1
    Last Post: 10th August 2016, 11:55
  2. Replies: 0
    Last Post: 5th August 2012, 02:03
  3. Bluetooth! need help.
    By bilalsaeed in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 16th February 2011, 17:33
  4. Bluetooth app?
    By danoh in forum Newbie
    Replies: 2
    Last Post: 30th August 2009, 23:48
  5. Bluetooth libraries in Qt 4.4
    By s4077154 in forum Qt for Embedded and Mobile
    Replies: 6
    Last Post: 18th May 2009, 03:42

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.