sudokumaster.pro 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. # Copyright (c) 2011 Nokia Corporation.
  2. QT += declarative sql
  3. TARGET = sudokumaster
  4. VERSION = 1.1
  5. HEADERS += \
  6. myqmlapplicationviewer.h
  7. SOURCES += \
  8. main.cpp \
  9. myqmlapplicationviewer.cpp
  10. OTHER_FILES += \
  11. qml/Block.qml \
  12. qml/Button.qml \
  13. qml/Cell.qml \
  14. qml/HighScores.qml \
  15. qml/main.qml \
  16. qml/Menu.qml \
  17. qml/NumberPad.qml \
  18. qml/SplashScreen.qml \
  19. qml/WaitNote.qml \
  20. qml/View.qml \
  21. qml/WinNote.qml \
  22. qml/dbHandling.js \
  23. qml/gameLogic.js
  24. RESOURCES += rsc/sudokumaster.qrc
  25. symbian: {
  26. TARGET = Sudokumaster
  27. TARGET.UID3 = 0xE0253A00
  28. TARGET.EPOCHEAPSIZE = 0x20000 0x2000000
  29. ICON = icons/sudoku.svg
  30. RESOURCES += rsc/no_components.qrc
  31. OTHER_FILES += qml/no_components.qml
  32. }
  33. unix:!symbian {
  34. INSTALLS += target
  35. contains(DEFINES, DESKTOP) {
  36. target.path = /usr/local/bin
  37. RESOURCES += rsc/no_components.qrc
  38. OTHER_FILES += qml/no_components.qml
  39. }
  40. else {
  41. BINDIR = /opt/usr/bin
  42. DATADIR = /usr/share
  43. DEFINES += DATADIR=\\\"$$DATADIR\\\" \
  44. PKGDATADIR=\\\"$$PKGDATADIR\\\"
  45. target.path = $$BINDIR
  46. iconxpm.path = $$DATADIR/pixmap
  47. iconxpm.files += icons/xpm/sudokumaster.xpm
  48. icon26.path = $$DATADIR/icons/hicolor/26x26/apps
  49. icon26.files += icons/26x26/sudokumaster.png
  50. icon40.path = $$DATADIR/icons/hicolor/40x40/apps
  51. icon40.files += icons/40x40/sudokumaster.png
  52. icon64.path = $$DATADIR/icons/hicolor/64x64/apps
  53. icon64.files += icons/64x64/sudokumaster.png
  54. maemo5 {
  55. RESOURCES += rsc/no_components.qrc
  56. OTHER_FILES += qml/no_components.qml
  57. desktopfile.path = $$DATADIR/applications/hildon
  58. desktopfile.files += qtc_packaging/debian_fremantle/$${TARGET}.desktop
  59. }
  60. else {
  61. # Harmattan specific
  62. message(Harmattan build)
  63. DEFINES += Q_WS_MAEMO_6
  64. RESOURCES += rsc/harmattan.qrc
  65. OTHER_FILES += qml/harmattan.qml
  66. desktopfile.files = qtc_packaging/debian_harmattan/$${TARGET}.desktop
  67. desktopfile.path = /usr/share/applications
  68. }
  69. INSTALLS += \
  70. desktopfile \
  71. iconxpm \
  72. icon26 \
  73. icon40 \
  74. icon64
  75. }
  76. }
  77. win32 {
  78. message(Windows environment)
  79. RESOURCES += rsc/no_components.qrc
  80. OTHER_FILES += qml/no_components.qml
  81. }