Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt doesn't recognize bluetooth
Forum Updated to NodeBB v4.3 + New Features

Qt doesn't recognize bluetooth

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    ksiedzulek
    wrote on last edited by
    #1

    Hi,

    after 7 days I installed qtmobility and it works with my mac:)
    ..but Qt doesn't recognize my internal bluetooth adapter, although bulding and running without errors(app can be launched, but it is useless because bt is not recognized).

    How to enable bluetooth in Qt?

    I did this:

    @address(new QBluetoothAddress("ZZ:ZZ:XX:VV:D7:57"));
    localDevice(new QBluetoothLocalDevice(*address));@

    and then when I check value of localDevice:

    @qDebug()<<localDevice->address().toString(); //on screen appears 00:00:00:00:00:00 instead of ZZ:ZZ:XX:VV:D7:57@

    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      ybot
      wrote on last edited by
      #2

      You don't mention the version you are using, I will assume 1.2.1.

      http://doc.qt.nokia.com/qtmobility/index.html#platform-compatibility

      QtConnectivity (and hence bluetooth connectivity) is not supported on the OSX platform. It is supported on the linux operating system.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved