evidencehunt.pro 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. QT += core gui xml network declarative #phonon
  2. # Additional import path used to resolve QML modules in Creator's code model
  3. QML_IMPORT_PATH =
  4. symbian:TARGET.CAPABILITY += NetworkServices
  5. SOURCES += main.cpp \
  6. EvidenceHunt.cpp
  7. exists( ScoreboardCustom.cpp ) {
  8. SOURCES += ScoreboardCustom.cpp
  9. } else {
  10. SOURCES += Scoreboard.cpp
  11. }
  12. # Define QMLJSDEBUGGER to enable basic debugging (setting breakpoints etc)
  13. # DEFINES += NO_QMLJSDEBUGGER
  14. HEADERS += \
  15. SuspectData.h \
  16. EvidenceType.h \
  17. TileData.h \
  18. EvidenceInfo.h \
  19. EvidenceHuntGame.h \
  20. Scoreboard.h \
  21. ScoreboardHandler.h \
  22. TopPlayerData.h
  23. RESOURCES += \
  24. EvidenceHunt.qrc
  25. TRANSLATIONS += qml/evidencehunt.en.ts \
  26. qml/evidencehunt.hu.ts \
  27. qml/evidencehunt.sr.ts \
  28. qml/evidencehunt.it.ts
  29. #music_folder.source = music
  30. #music_folder.target =
  31. #DEPLOYMENTFOLDERS = music_folder
  32. include(qmlapplicationviewer/qmlapplicationviewer.pri)
  33. qtcAddDeployment()
  34. symbian {
  35. DEFINES += Q_EVHUNT_SYMBIAN
  36. } else:win32 {
  37. DEFINES += Q_EVHUNT_WINDOWS
  38. RC_FILE += EvidenceHunt.rc
  39. } else:qpa {
  40. DEFINES += Q_EVHUNT_BLACKBERRY
  41. QMAKE_LFLAGS += '-Wl,-rpath,\'./app/native/lib\' '
  42. package.target = $${TARGET}.bar
  43. package.depends = $$TARGET
  44. package.commands = blackberry-nativepackager \
  45. -package $${TARGET}.bar -arg -platform -arg blackberry \
  46. -arg -platformpluginpath -arg ./app/native/platforms \
  47. #-devMode \
  48. -debugToken ~/.rim/debugtoken.bar \
  49. blackberry-tablet.xml $$TARGET \
  50. -e evidencehunt-icon.png evidencehunt-icon.png \
  51. -e evidencehunt-splash-bb.png evidencehunt-splash-bb.png \
  52. -e $$[QT_INSTALL_LIBS]/libQtCore.so.4 lib/libQtCore.so.4 \
  53. -e $$[QT_INSTALL_LIBS]/libQtGui.so.4 lib/libQtGui.so.4 \
  54. -e $$[QT_INSTALL_LIBS]/libQtOpenGL.so.4 lib/libQtOpenGL.so.4 \
  55. -e $$[QT_INSTALL_LIBS]/libQtNetwork.so.4 lib/libQtNetwork.so.4 \
  56. -e $$[QT_INSTALL_LIBS]/libQtDeclarative.so.4 lib/libQtDeclarative.so.4 \
  57. -e $$[QT_INSTALL_LIBS]/libQtSql.so.4 lib/libQtSql.so.4 \
  58. -e $$[QT_INSTALL_LIBS]/libQtSvg.so.4 lib/libQtSvg.so.4 \
  59. -e $$[QT_INSTALL_LIBS]/libQtScript.so.4 lib/libQtScript.so.4 \
  60. -e $$[QT_INSTALL_LIBS]/libQtXml.so.4 lib/libQtXml.so.4 \
  61. -e $$[QT_INSTALL_LIBS]/libQtXmlPatterns.so.4 lib/libQtXmlPatterns.so.4 \
  62. -e $$[QT_INSTALL_PLUGINS]/platforms/libblackberry.so platforms/libblackberry.so \
  63. -e $$[QT_INSTALL_PLUGINS]/imageformats/libqjpeg.so plugins/imageformats/libqjpeg.so \
  64. -e $$[QT_INSTALL_IMPORTS]/Qt/labs/particles/libqmlparticlesplugin.so imports/Qt/labs/particles/libqmlparticlesplugin.so \
  65. -e $$[QT_INSTALL_IMPORTS]/Qt/labs/particles/qmldir imports/Qt/labs/particles/qmldir \
  66. -e $$[QT_INSTALL_IMPORTS]/Qt/labs/components imports/Qt/labs/components
  67. QMAKE_EXTRA_TARGETS += package
  68. } else:unix {
  69. maemo5 {
  70. DEFINES += Q_EVHUNT_MAEMO
  71. } else:contains(MEEGO_VERSION_MAJOR,1) {
  72. DEFINES += Q_EVHUNT_MEEGO
  73. CONFIG += shareuiinterface-maemo-meegotouch share-ui-plugin share-ui-common mdatauri
  74. target.path = /opt/evidencehunt/bin
  75. desktopfile.files = qtc_packaging/debian_harmattan/evidencehunt.desktop
  76. desktopfile.path = /usr/share/applications
  77. icon.files = qml/EvidencehuntCore/pics/evidencehunt-icon.png
  78. icon.path = /usr/share/icons/hicolor/80x80/apps
  79. splash.files = qml/EvidencehuntCore/pics/evidencehunt-splash.png
  80. splash.path = /usr/share/$$TARGET
  81. INSTALLS += \
  82. target \
  83. desktopfile \
  84. icon \
  85. splash
  86. } else {
  87. DEFINES += Q_EVHUNT_LINUX
  88. }
  89. }
  90. OTHER_FILES += \
  91. qml/EvidencehuntCore/EvidenceInfo.qml \
  92. qml/EvidencehuntCore/Explosion.qml \
  93. qml/EvidencehuntCore/Suspect.qml \
  94. qml/EvidencehuntCore/Tile.qml \
  95. qml/EvidencehuntCore/Scoreboard.qml \
  96. qml/DesktopComponents/Label.qml \
  97. internationalization/en/startScenes.xml \
  98. internationalization/en/roleTypes.xml \
  99. internationalization/en/suspectProperties.xml \
  100. internationalization/en/suspectNegativeProperties.xml \
  101. internationalization/hu/startScenes.xml \
  102. internationalization/hu/roleTypes.xml \
  103. internationalization/hu/suspectProperties.xml \
  104. internationalization/hu/suspectNegativeProperties.xml \
  105. internationalization/sr/startScenes.xml \
  106. internationalization/sr/roleTypes.xml \
  107. internationalization/sr/suspectProperties.xml \
  108. internationalization/sr/suspectNegativeProperties.xml \
  109. internationalization/it/startScenes.xml \
  110. internationalization/it/roleTypes.xml \
  111. internationalization/it/suspectProperties.xml \
  112. internationalization/it/suspectNegativeProperties.xml \
  113. qtc_packaging/debian_harmattan/rules \
  114. qtc_packaging/debian_harmattan/README \
  115. qtc_packaging/debian_harmattan/copyright \
  116. qtc_packaging/debian_harmattan/control \
  117. qtc_packaging/debian_harmattan/compat \
  118. qtc_packaging/debian_harmattan/changelog \
  119. qtc_packaging/debian_harmattan/evidencehunt.desktop \
  120. blackberry-tablet.xml \
  121. qml/desktop.qml \
  122. qml/harmattan.qml \
  123. qml/blackberry.qml \
  124. qml/DesktopComponents/Sheet.qml \
  125. qml/EvidencehuntCore/Welcome.qml \
  126. qml/EvidencehuntCore/GameMenuBottom.qml \
  127. qml/EvidencehuntCore/GameMenuTop.qml \
  128. qml/EvidencehuntCore/Score.qml \
  129. qml/EvidencehuntCore/SuspectList.qml