title: Qt Bluetooth on iOS
body: <p>I tried to search for an answer for my query. It seems trivial, but I cant find an answer yet.</p>
  
  <p>I am trying to run a program using Qt Bluetooth on iOS. I am able to use it successfully on MacOS.</p>
  
  <p>But even the most basic feature of code like :</p>
  
  <pre><code>QBluetoothLocalDevice localDevice;
  QString localDeviceName;
  
  // Check if Bluetooth is available on this device
   if (localDevice.isValid()) {
  
  // Turn Bluetooth on
  localDevice.powerOn();
  
  // Read local device name
  localDeviceName = localDevice.name();
  
  // Make it visible to others
  localDevice.setHostMode(QBluetoothLocalDevice::HostDiscoverable);
  
  // Get connected devices
  QList&lt;QBluetoothAddress&gt; remotes;
  remotes = localDevice.connectedDevices();
  ui-&gt;textBrowser-&gt;setText(localDevice.name() + "\n" + localDevice.address().toString());
  
  }
  </code></pre>
  
  <p>gives me a null vector as the address.</p>
  
  <p>Is there some specific settings needed to run it in iOS. Do I need to add certain flags on info.plist file? Kindly suggest.</p>
  
  <p>For information, I am using Qt 5.7 and xcode 8, programming on a macOS Sierra macbook and building it for iOS10.</p>