solitaire.pro 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # Copyright (c) 2011 Nokia Corporation
  2. INCLUDEPATH += inc
  3. TEMPLATE = app
  4. TARGET = solitaire
  5. VERSION = 1.7.0
  6. SOURCES += src/main.cpp \
  7. src/TableauWidget.cpp \
  8. src/Card.cpp \
  9. src/SolitaireScene.cpp \
  10. src/CardDeck.cpp \
  11. src/GameLogic.cpp \
  12. src/Deck.cpp \
  13. src/SolitaireView.cpp \
  14. src/Button.cpp
  15. HEADERS += src/TableauWidget.h \
  16. src/Card.h \
  17. src/SolitaireScene.h \
  18. src/CardDeck.h \
  19. src/GameLogic.h \
  20. src/Deck.h \
  21. src/SolitaireView.h \
  22. src/Button.h
  23. RESOURCES = resources.qrc
  24. QT += svg
  25. # Symbian specific
  26. symbian {
  27. TARGET = Solitaire
  28. TARGET.UID3 = 0xEa8e5c91
  29. TARGET.EPOCHEAPSIZE = 20000 10000000
  30. TARGET.EPOCSTACKSIZE = 0x14000
  31. ICON = images/icon.svg
  32. # For locked orientation
  33. LIBS += -lcone -leikcore -lavkon
  34. }
  35. # Maemo 5 and Harmattan
  36. unix:!symbian {
  37. BINDIR = /opt/usr/bin
  38. DATADIR = /usr/share
  39. DEFINES += \
  40. DATADIR=\\\"$$DATADIR\\\" \
  41. PKGDATADIR=\\\"$$PKGDATADIR\\\"
  42. target.path = $$BINDIR
  43. icon64.path = $$DATADIR/icons/hicolor/64x64/apps
  44. icon64.files += images/icons/64x64/solitaire.png
  45. maemo5 {
  46. # Maemo specific
  47. OTHER_FILES += qtc_packaging/debian_fremantle/*
  48. desktopfile.path = $$DATADIR/applications/hildon
  49. desktopfile.files += qtc_packaging/debian_fremantle/$${TARGET}.desktop
  50. }
  51. else {
  52. # Harmattan specific
  53. DEFINES += Q_WS_MAEMO_6
  54. OTHER_FILES += qtc_packaging/debian_harmattan/*
  55. desktopfile.path = $$DATADIR/applications
  56. desktopfile.files += qtc_packaging/debian_harmattan/$${TARGET}.desktop
  57. }
  58. INSTALLS += \
  59. target \
  60. desktopfile \
  61. icon64
  62. }