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:
  1. Open the BangoNokiaQTRoot.pro project in QT Creator, and pick a suitable toolchain.
  2. Right-click on the BangoNokiaQTLibrary and select "Build".
  3. Check that the .dsos (BangoNokiaQTLibrary.dso and BangoNokiaQTLibrary{000a0000}.dso) are in your toolchain's directory.
  4. 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
  5. Configure your app to use the same toolchain as selected above.
  6. Make sure to include the header file wherever you wish to make a call to the library.
  7. 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.

Last edited Oct 7, 2011 at 4:21 PM by bangodev, version 1


No comments yet.