app.pro 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. TARGET = webfeeds
  2. DESTDIR = bin
  3. # Add more folders to ship with the application, here
  4. # Additional import path used to resolve QML modules in Creator's code model
  5. QML_IMPORT_PATH =
  6. QT+= declarative network
  7. CONFIG += qtestlib
  8. #DEFINES += USE_MODELTEST
  9. symbian:TARGET.UID3 = 0xE0E6683D
  10. # Smart Installer package's UID
  11. # This UID is from the protected range and therefore the package will
  12. # fail to install if self-signed. By default qmake uses the unprotected
  13. # range value if unprotected UID is defined for the application and
  14. # 0x2002CCCF value if protected UID is given to the application
  15. #symbian:DEPLOYMENT.installer_header = 0x2002CCCF
  16. # Allow network access on Symbian
  17. symbian:TARGET.CAPABILITY += NetworkServices
  18. # If your application uses the Qt Mobility libraries, uncomment the following
  19. # lines and add the respective components to the MOBILITY variable.
  20. # CONFIG += mobility
  21. # MOBILITY +=
  22. # enable booster
  23. CONFIG += qdeclarative-boostable
  24. # The .cpp file which was generated for your project. Feel free to hack it.
  25. SOURCES += main.cpp \
  26. src/pageitemmodel.cpp \
  27. src/webfeedsapp.cpp
  28. HEADERS += \
  29. src/webfeedsapp.h \
  30. src/pageitemmodel_p.h
  31. contains(DEFINES, USE_MODELTEST) {
  32. SOURCES += src/modeltest.cpp
  33. HEADERS += src/modeltest.h
  34. }
  35. SOURCES +=
  36. OTHER_FILES += \
  37. qml/main.qml \
  38. app.desktop \
  39. app.svg \
  40. app.png \
  41. splash.jpg \
  42. splash-l.jpg \
  43. qml/toolbuttons/AddServiceToolButton.qml \
  44. qml/menu_items/RemoveServiceMenuItem.qml \
  45. qml/MainPage.qml \
  46. qml/MainPageDelegate.qml \
  47. webfeeds_settings.desktop \
  48. webfeeds_settings.xml \
  49. qml/sheets/AboutSheet.qml \
  50. qml/menu_items/SettingsMenuItem.qml \
  51. qml/menu_items/AboutMenuItem.qml
  52. RESOURCES += \
  53. res.qrc
  54. # Please do not modify the following two lines. Required for deployment.
  55. #include(deployment.pri)
  56. include(../qmlapplicationviewer/qmlapplicationviewer.pri)
  57. qtcAddDeployment()
  58. OTHER_FILES += \
  59. qtc_packaging/debian_harmattan/rules \
  60. qtc_packaging/debian_harmattan/README \
  61. qtc_packaging/debian_harmattan/manifest.aegis \
  62. qtc_packaging/debian_harmattan/copyright \
  63. qtc_packaging/debian_harmattan/control \
  64. qtc_packaging/debian_harmattan/compat \
  65. qtc_packaging/debian_harmattan/changelog
  66. QMAKE_CXXFLAGS += -fPIC -fvisibility=hidden -fvisibility-inlines-hidden
  67. QMAKE_LFLAGS += -pie -rdynamic
  68. QMAKE_CXXFLAGS += `pkg-config --cflags qdeclarative-boostable`
  69. QMAKE_LFLAGS += `pkg-config --libs qdeclarative-boostable`
  70. HEADERS += src/pageitemmodel.h
  71. INCLUDEPATH += src
  72. include(../common.pri)
  73. include(../shared/shared.pri)
  74. include(../plugins/plugins.pri)
  75. INCLUDEPATH += ../shared
  76. contains(MEEGO_EDITION,harmattan) {
  77. target.path = /opt/$$TARGET/bin
  78. INSTALLS += target
  79. splash.files += splash.jpg
  80. splash.files += splash-l.jpg
  81. splash.path = /usr/share/$$TARGET
  82. INSTALLS += splash
  83. desktopfile.files = webfeeds.desktop
  84. desktopfile.path = /usr/share/applications
  85. INSTALLS += desktopfile
  86. icon.files = webfeeds.png
  87. icon.path = /usr/share/icons/hicolor/80x80/apps
  88. INSTALLS += icon
  89. settingsdesktop.path = /usr/share/duicontrolpanel/desktops
  90. settingsdesktop.files = webfeeds_settings.desktop
  91. INSTALLS += settingsdesktop
  92. settingsxml.path = /usr/share/duicontrolpanel/uidescriptions
  93. settingsxml.files = webfeeds_settings.xml
  94. INSTALLS += settingsxml
  95. }