sensors.pro 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # -------------------------------------------------
  2. # Project created by QtCreator 2009-11-18T10:48:17
  3. # -------------------------------------------------
  4. QT += webkit
  5. TARGET = $$qtLibraryTarget(sensorsapi)
  6. TEMPLATE = lib
  7. CONFIG += plugin \
  8. release
  9. VERSION = 1.0.0
  10. DEFINES += WRTAPI_LIBRARY
  11. SOURCES += sensorsapi.cpp \
  12. sensors.cpp \
  13. sensordatalistener.cpp \
  14. symbiansdksensors.cpp
  15. HEADERS += sensorsapi.h \
  16. sensors.h \
  17. sensordatalistener.h \
  18. symbiansdksensors.h
  19. INCLUDEPATH += ../../fw/
  20. symbian: {
  21. # Load predefined include paths (e.g. QT_PLUGINS_BASE_DIR) to be used in the pro-files
  22. load(data_caging_paths)
  23. # EPOCALLOWDLLDATA have to set true because Qt macros has initialised global data
  24. TARGET.EPOCALLOWDLLDATA = 1
  25. # Defines plugin files into Symbian .pkg package
  26. #pluginDep.sources = sensorsapi.dll
  27. #pluginDep.path = $$QT_PLUGINS_BASE_DIR/hybridplugins
  28. #DEPLOYMENT += pluginDep
  29. TARGET.CAPABILITY = LocalServices \
  30. NetworkServices \
  31. ReadUserData \
  32. UserEnvironment \
  33. WriteUserData \
  34. Location
  35. LIBS += -lcone \
  36. -leikcoctl \
  37. -lapgrfx \
  38. -lapparc \
  39. -lsensrvclient \
  40. -lavkon \
  41. -lsensrvutil
  42. }
  43. target.path += $$[QT_INSTALL_PLUGINS]/hybridplugins
  44. INSTALLS += target