As of now, QBluetoothZero LIbary can be used through a different procedure much simpler than compiling.
SVN contains a new folder called bin. In there you can find the library already compiled and ready to be used.
The library is now thought as a Shared Dll Library. It is installed once and can be used from multiple client programs without conflicts.
It looks good BUT it has some catches.
Copy the contents of bin file ("epoc32" folder) in the "epoc32" folder of your Symbian SDK.
Put the following lines in your .pro file:
symbian{
INCLUDEPATH += /epoc32/include/QBluetoothZero
LIBS += -lQBluetoothZero
customrules.pkg_prerules = \
";QBluetoothZero" \
"@\"$(EPOCROOT)Epoc32/InstallToDevice/QBluetoothZero_selfsigned.sis\",(0xA003328D)"\
" "
DEPLOYMENT += customrules
}
In case you use Qt Creator, the following line:
"@\"$(EPOCROOT)Epoc32/InstallToDevice/QBluetoothZero_selfsigned.sis\",(0xA003328D)"\
must be changed into (just add a _$" character):
"@\"$$(EPOCROOT)Epoc32/InstallToDevice/QBluetoothZero_selfsigned.sis\",(0xA003328D)"\
Compile your appllication.
I case someone wants to sign the binary or change anything these are the lines that have to be edited:
from
addFiles.sources = QBluetoothZero.dll
addFiles.path = :\sys\bin
to
addFiles.sources = QBluetoothZero.dll
addFiles.path = /sys/bin
If using Carbide: Specify QBluetoothZero_template.pkg for the SIS builder.