When integrating the SDK into your app, you might wish not to use a project linkage, as we have done in our test app. In this case, the best option would be to use dynamic linking. This can be achieved by doing the following:
- Open the BangoNokiaQTRoot.pro project in QT Creator, and pick a suitable toolchain.
- Right-click on the BangoNokiaQTLibrary and select "Build".
- Check that the .dsos (BangoNokiaQTLibrary.dso and BangoNokiaQTLibrary{000a0000}.dso) are in your toolchain's directory.
- Copy the header files (BangoNokiaQTLibrary_global.h and BangoAgent.h) and the .dll (BangoNokiaQTLibrary.dll) into your application folder, and add a link to them in your .pro file by adding the following.
- LIBS += -lBangoNokiaQTLibrary
- addFiles.sources += BangoNokiaQTLibrary.dll
- addFiles.path += !:/sys/bin
- DEPLOYMENT += addFiles
- Configure your app to use the same toolchain as selected above.
- Make sure to include the header file wherever you wish to make a call to the library.
- Set a proper signing key for the sis file, and build.
From v1.1.0, the SDK includes libraries pre-built for the ARMV5 Symbian^3 toolchain. To use these, copy the .dsos to the toolchain directory (this is "C:\QtSDK\Symbian\SDKs\Symbian3Qtxxx\epoc32\release\armv5\lib" on the QT SDK default installation, where xxx is the QT version), and follow the above instructions from step 4.