accountsexample.pro 981 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Copyright (c) 2011 Nokia Corporation.
  2. QT += declarative
  3. CONFIG += qt-components
  4. MOBILITY +=
  5. TARGET = accountsexample
  6. HEADERS += \
  7. src/accountitem.h \
  8. src/accountmanager.h
  9. SOURCES += \
  10. src/main.cpp \
  11. src/accountitem.cpp \
  12. src/accountmanager.cpp
  13. RESOURCES += resources.qrc
  14. OTHER_FILES += qml/*
  15. exists($$QMAKE_INCDIR_QT"/../qmsystem2/qmkeys.h"):!contains(MEEGO_EDITION,harmattan): {
  16. MEEGO_VERSION_MAJOR = 1
  17. MEEGO_VERSION_MINOR = 2
  18. MEEGO_VERSION_PATCH = 0
  19. MEEGO_EDITION = harmattan
  20. DEFINES += MEEGO_EDITION_HARMATTAN
  21. CONFIG += meegotouch link_pkgconfig #accountsuiinterface-maemo-meegotouch
  22. PKGCONFIG += accounts-qt signon-plugins
  23. #LIBS += -lsignon-qt
  24. LIBS += -laccounts-qt -laccounts-glib
  25. target.path = /opt/accountsexample/bin
  26. INSTALLS += target
  27. }
  28. else {
  29. warning(This example application is only for MeeGo 1.2 Harmattan)
  30. }
  31. # End of file.