TryAndBuyExample.pro 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. # Add more folders to ship with the application, here
  2. folder_01.source = qml
  3. folder_01.target = .
  4. DEPLOYMENTFOLDERS = folder_01
  5. # Additional import path used to resolve QML modules in Creator's code model
  6. QML_IMPORT_PATH =
  7. CONFIG += mobility qt-components
  8. MOBILITY += serviceframework
  9. # The .cpp file which was generated for your project. Feel free to hack it.
  10. SOURCES += main.cpp \
  11. purchasableitem.cpp \
  12. purchasableitemBase.cpp \
  13. drmfile.cpp \
  14. symbian_drm/drmfile_p.cpp \
  15. productlistmodel.cpp \
  16. filterproxymodel.cpp
  17. # Please do not modify the following two lines. Required for deployment.
  18. include(qmlapplicationviewer/qmlapplicationviewer.pri)
  19. qtcAddDeployment()
  20. HEADERS += \
  21. purchasableitem.h \
  22. purchasableitemBase.h \
  23. drmfile.h \
  24. symbian_drm/drmfile_p.h \
  25. productlistmodel.h \
  26. filterproxymodel.h
  27. symbian{
  28. # Smart Installer package's UID
  29. # This UID is from the protected range and therefore the package will
  30. # fail to install if self-signed. By default qmake uses the unprotected
  31. # range value if unprotected UID is defined for the application and
  32. # 0x2002CCCF value if protected UID is given to the application
  33. #symbian:DEPLOYMENT.installer_header = 0x2002CCCF
  34. TARGET.UID3 = 0x2005F2FB
  35. # IAP supporting
  36. LIBS += -liapclientapi -lusrt2_2
  37. # DRM protection support
  38. LIBS += -lcaf -lcafutils -lapmime -lefsrv
  39. # capabilities required for IAP API
  40. TARGET.CAPABILITY += NetworkServices
  41. iap_dependency.pkg_prerules = "; Has dependency on IAP component" \
  42. "(0x200345C8), 0, 2, 2, {\"IAP\"}"
  43. # IAP API files to include in package
  44. addIapFiles.sources = ./items2sell/IAP_VARIANTID.txt #./items2sell/TEST_MODE.txt
  45. addIapFiles.path = ./
  46. DEPLOYMENT += iap_dependency addIapFiles
  47. # DRM protected purchasable items
  48. addDrm588547.source = items2sell/product_588547/resources
  49. addDrm588547.target = drm/data/resourceid_588547
  50. DEPLOYMENTFOLDERS += addDrm588547
  51. addDrm588549.source = items2sell/product_588549/resources
  52. addDrm588549.target = drm/data/resourceid_588549
  53. DEPLOYMENTFOLDERS += addDrm588549
  54. addDrm588550.source = items2sell/product_588550/resources
  55. addDrm588550.target = drm/data/resourceid_588550
  56. DEPLOYMENTFOLDERS += addDrm588550
  57. addDrm588551.source = items2sell/product_588551/resources
  58. addDrm588551.target = drm/data/resourceid_588551
  59. DEPLOYMENTFOLDERS += addDrm588551
  60. # execute function from qmlapplicationviewer/qmlapplicationviewer.pri
  61. qtcAddDeployment()
  62. }