qtquickplayground.pro 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. # Copyright (c) 2011 Nokia Corporation.
  2. QT += core gui opengl
  3. QT += declarative
  4. TARGET = qtquickplayground
  5. TEMPLATE = app
  6. VERSION = 1.4.1
  7. SOURCES += src/main.cpp\
  8. src/qmlcodeprovider.cpp \
  9. src/taskswitcher.cpp
  10. HEADERS += src/qmlcodeprovider.h \
  11. src/taskswitcher.h
  12. OTHER_FILES += demochooser.qml \
  13. content/button.qml \
  14. content/demoitem.qml \
  15. content/sidepanel.qml \
  16. content/texteditor.qml \
  17. content/demoitemcore.js \
  18. content/codebutton.qml \
  19. content/fancypicker/fancypicker.qml \
  20. content/fancypicker/slider.qml \
  21. content/helloworld/hello.qml \
  22. content/memorygame/memorygame.js \
  23. content/memorygame/memorygame.qml \
  24. content/samegame/samegame.qml \
  25. content/samegame/SameGameCore/boomblock.qml \
  26. content/samegame/SameGameCore/button.qml \
  27. content/samegame/SameGameCore/dialog.qml \
  28. content/samegame/SameGameCore/samegame.js \
  29. content/slideshow/slideshow.qml \
  30. content/webcontent/webcontent.qml \
  31. content/memorygame/card.qml \
  32. content/errordialog.qml \
  33. RESOURCES = resources.qrc
  34. win32: !simulator {
  35. RC_FILE = qtquickplayground.rc
  36. }
  37. unix:!symbian {
  38. BINDIR = /opt/usr/bin
  39. DATADIR =/usr/share
  40. DEFINES += DATADIR=\\\"$$DATADIR\\\" \
  41. PKGDATADIR=\\\"$$PKGDATADIR\\\"
  42. INSTALLS += target \
  43. desktop \
  44. iconxpm \
  45. icon26 \
  46. icon40 \
  47. icon64
  48. target.path = $$BINDIR
  49. iconxpm.path = $$DATADIR/pixmap
  50. iconxpm.files += icons/xpm/qtquickplayground.xpm
  51. icon26.path = $$DATADIR/icons/hicolor/26x26/apps
  52. icon26.files += icons/26x26/qtquickplayground.png
  53. icon40.path = $$DATADIR/icons/hicolor/40x40/apps
  54. icon40.files += icons/40x40/qtquickplayground.png
  55. icon64.path = $$DATADIR/icons/hicolor/64x64/apps
  56. icon64.files += icons/64x64/qtquickplayground.png
  57. maemo5{
  58. desktop.path = $$DATADIR/applications/hildon
  59. desktop.files += qtc_packaging/debian_fremantle/$${TARGET}.desktop
  60. }
  61. else {
  62. DEFINES += Q_WS_MAEMO_6
  63. desktop.path = $$DATADIR/applications
  64. desktop.files += qtc_packaging/debian_harmattan/$${TARGET}.desktop
  65. }
  66. }
  67. symbian {
  68. TARGET = QtQuickPlayground
  69. !contains(SYMBIAN_VERSION, Symbian3) {
  70. message(Symbian^1)
  71. # In Symbian^1 we don't have OpenGL available
  72. QT -= opengl
  73. DEFINES += QT_NO_OPENGL
  74. }
  75. ICON = icons/qtqpg.svg
  76. # To lock the application to landscape orientation
  77. LIBS += -lcone -leikcore -lavkon
  78. # WebView demo requires access to network
  79. TARGET.CAPABILITY = NetworkServices
  80. # Increase heap and stack size, FancyPicker consumes lots of memory
  81. # when viewing images
  82. TARGET.EPOCHEAPSIZE = 0x100000 0x2000000
  83. TARGET.EPOCSTACKSIZE = 0x14000
  84. }