Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
Talk:QBluetoothZero - A Qt bluetooth library
Couple of minor issues that caused building QBluetooth to fail:
INCLUDEPATH = $$deploy.path$$exportheaders.path/QBlueTooth/
INCLUDEPATH = BlueSoleil_SDK_2.0.5/include \
These definitions override the existing include path(s), should use '+=' instead of "=".
\QBluetooth\Connection\ObjectExchange\Server\QBtObjectExchangeServer.h: missing forward declaration:
--11:04, 9 June 2010 (UTC)
The ZIP file is updated, the issues reported are fixed. Thanks!
15:20, 9 June 2010 (UTC)
About this guideline to include the dll in an application:
INCLUDEPATH += /epoc32/include/QBlueTooth
LIBS += -lQBluetooth \
TARGET.CAPABILITY = LocalServices \
addFiles.sources = $(EPOCROOT)Epoc32\release\$(PLATFORM)\$(CFG)\QBluetooth.dll
addFiles.path = \sys\bin
DEPLOYMENT += addFiles
What if two different applications need to use QBluetooth.dll ? Suppose we install the first one. If we try to install the second one, we'll get an "update error", and won't be able to install it. This is due that the two installer try to copy the same file to the same location, and then the second try fails. How to solve that?
One way could be renaming the dlls for the separate applications (e.g. using the app uid to rename to something like QBluetooth_0x12345678.dll for an application with uid 0x12345678), but I don't know if this is possible. Any suggestions?
TunSym - PB with libs
Hi, i get 1 error: Could not ind -lBluetoothZero.
the same case with the simulator or desktop. Look, i copied *.dll under Qutemessenger project file/ even under /installqt/mingw/ but i still get this message. .../installqt/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lQBluetoothZeroThanks for any help!!
12:51, 8 October 2012 (EEST)
Favoritas37 - Suggestion
About your error, you have a spelling mistake. it is -lQBluetoothZero, not -lBluetoothZero (missing 'Q'). Moreover you can't test it to the simulator because it doesn't support Bluetooth Symulation and when targeting Windows platform you need to use the VS compiler in the Qt Creator, not Mingw (at the time of the creation of the library i was having problems with Mingw and i have not tested to compile it ever since)PS. check the comment that i have posted in your other question http://www.developer.nokia.com/Community/Wiki/Discovering_Bluetooth_devices_with_the_QBluetoothZero_library#Favoritas37_-_Discovery_example
15:30, 8 October 2012 (EEST)