epong_qtgl.pro 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. #
  2. # EPong Qt project.
  3. #
  4. TARGET = qtglepong
  5. TEMPLATE = app
  6. QT += core gui opengl
  7. CONFIG += mobility
  8. MOBILITY = systeminfo
  9. QT += multimedia
  10. #DEFINES += TRIAL_VERSION
  11. # enable splash screen (QML)
  12. DEFINES += USE_QML
  13. # audio related options
  14. DEFINES += USE_OGG
  15. #DEFINES += USE_PUSH_AUDIO_OUT
  16. DEFINES += USE_PULL_AUDIO_OUT
  17. # rendering options
  18. DEFINES += USE_QTGL
  19. #DEFINES += USE_GLES11
  20. #DEFINES += USE_GLES20
  21. #DEFINES += USE_OPENVG
  22. # debug logging
  23. #DEFINES += EPONG_DEBUG
  24. #DEFINES += GE_DEBUG
  25. #DEFINES += QT_NO_DEBUG_OUTPUT
  26. #-----------------------------------------------------------
  27. SOURCES += $$PWD/qglgameengine.cpp $$PWD/main.cpp \
  28. gameglwidget.cpp
  29. HEADERS += $$PWD/qglgameengine.h \
  30. gameglwidget.h
  31. INCLUDEPATH += $$PWD
  32. INCLUDEPATH += $$PWD/../epong_qt_build
  33. contains(DEFINES, USE_PUSH_AUDIO_OUT) {
  34. SOURCES += \
  35. $$PWD/../epong_qt_build/GEAudioOut.cpp \
  36. $$PWD/../epong_qt_build/pushaudioout.cpp
  37. HEADERS += \
  38. $$PWD/../epong_qt_build/GEAudioOut.h \
  39. $$PWD/../epong_qt_build/pushaudioout.h
  40. }
  41. contains(DEFINES, USE_PULL_AUDIO_OUT) {
  42. SOURCES += \
  43. $$PWD/../epong_qt_build/GEAudioOut.cpp \
  44. $$PWD/../epong_qt_build/pullaudioout.cpp
  45. HEADERS += \
  46. $$PWD/../epong_qt_build/GEAudioOut.h \
  47. $$PWD/../epong_qt_build/pullaudioout.h
  48. }
  49. contains(DEFINES, USE_QML) {
  50. QT += declarative
  51. }
  52. RESOURCES += \
  53. $$PWD/resources.qrc
  54. include($$PWD/epong.pri)
  55. include($$PWD/../spritebatchqt/spritebatch.pri)
  56. windows: {
  57. # Use virtual keyboard, .. for harmattan port.
  58. # DEFINES += USE_VKB
  59. }
  60. symbian: {
  61. MOBILITY += sensors feedback
  62. TARGET.UID3 = 0xef835555
  63. TARGET.EPOCSTACKSIZE = 0x14000
  64. TARGET.EPOCHEAPSIZE = 10000000 32000000
  65. # Symbian
  66. SOURCES += $$PWD/../epong_s3_build/src/memprofile.cpp
  67. HEADERS += $$PWD/../epong_s3_build/inc/memprofile.h
  68. # set to reserve goom memory (requires copying ../goomapi contents to your Qt symbian sdk)
  69. #DEFINES += USE_GOOM_MONITOR
  70. #contains(DEFINES, USE_GOOM_MONITOR)
  71. #{
  72. # LIBS += -lgoommonitor
  73. #}
  74. }
  75. OTHER_FILES += \
  76. qml/default.png \
  77. qml/splashvideo.qml \
  78. qml/splash.qml \
  79. qtc_packaging/debian_harmattan/rules \
  80. qtc_packaging/debian_harmattan/README \
  81. qtc_packaging/debian_harmattan/copyright \
  82. qtc_packaging/debian_harmattan/control \
  83. qtc_packaging/debian_harmattan/compat \
  84. qtc_packaging/debian_harmattan/changelog
  85. contains(MEEGO_EDITION,harmattan) {
  86. target.path = /opt/epong_qtgl/bin
  87. QT -= multimedia
  88. MOBILITY += multimedia
  89. DEFINES += USE_VKB
  90. #target.path = /opt/epongqtgl/bin
  91. INSTALLS += target
  92. }