Is there anyway to run the BT chat example or just use the BT APIs for MacOSX or Maemo?

for example:

#include <qbluetoothserviceinfo.h>
#include <qbluetoothsocket.h>

Thanks.