AugmentedRealityLibrary.pri 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. CONFIG += mobility
  2. MOBILITY += multimedia
  3. MOBILITY += sensors
  4. MOBILITY += location
  5. CONFIG += qt plugin
  6. QT += declarative
  7. #INCLUDEPATH += ./QAugmentedReality
  8. #DEPENDPATH += ./QAugmentedReality
  9. INCLUDEPATH += $$PWD/include
  10. DEPENDPATH += $$PWD/include
  11. #addFiles.sources = \epoc32\release\$(PLATFORM)\$(CFG)\QAugmentedReality.dll
  12. #addFiles.sources = ./QAugmentedReality/QAugmentedReality.dll
  13. #addFiles.path = \sys\bin
  14. #DEPLOYMENT += addFiles
  15. HEADERS += \
  16. qdll_global.h \
  17. qnativecamera.h \
  18. videosurface.h \
  19. qaugmentedrealitycamera.h \
  20. accelerometerinfo.h \
  21. compassinfo.h \
  22. qaugmentedrealitycameraitem.h \
  23. qaugmentedrealitycameramodel.h \
  24. qaugmentedrealitycameradelegate.h
  25. simulator {
  26. message(Library QAugmentedReality for Simulator)
  27. LIBS += -lQAugmentedReality
  28. CONFIG(debug, debug|release) { #Debug
  29. message(Library QAugmentedReality for Simulator Debug)
  30. LIBS += -L$$PWD/simulator/debug/
  31. PRE_TARGETDEPS += $$PWD/simulator/debug/libQAugmentedReality.a
  32. } else { # Release
  33. message(Library QAugmentedReality for Simulator Release)
  34. LIBS += -L$$PWD/simulator/release/
  35. PRE_TARGETDEPS += $$PWD/simulator/release/libQAugmentedReality.a
  36. }
  37. }
  38. #unix:!macx:!symbian:LIBS += -L$$PWD/QAugmentedReality/ -lQAugmentedReality
  39. #unix:!macx:!symbian:PRE_TARGETDEPS += $$PWD/QAugmentedReality/libQAugmentedReality.a
  40. symbian {
  41. message(Library QAugmentedReality for Symbian)
  42. #TARGET.EPOCSTACKSIZE = 0x14000
  43. #TARGET.EPOCHEAPSIZE = 0x20000 0x8000000
  44. TARGET.CAPABILITY += UserEnvironment
  45. TARGET.CAPABILITY += Location
  46. TARGET.CAPABILITY += NetworkServices
  47. TARGET.CAPABILITY += ReadUserData
  48. lib_exports = \
  49. "./QAugmentedReality/symbian/QAugmentedReality.lib /epoc32/release/armv5/urel/QAugmentedReality.lib" \
  50. "./QAugmentedReality/symbian/QAugmentedReality.lib /epoc32/release/armv5/udeb/QAugmentedReality.lib"
  51. BLD_INF_RULES.prj_exports += lib_exports
  52. LIBS += -lQAugmentedReality.lib
  53. }
  54. symbian: {
  55. MMP_RULES += "OPTION gcce -march=armv6"
  56. MMP_RULES += "OPTION gcce -mfpu=vfp"
  57. MMP_RULES += "OPTION gcce -mfloat-abi=softfp"
  58. MMP_RULES += "OPTION gcce -marm"
  59. }