mephi-tasks.pro 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2015-03-06T18:00:12
  4. #
  5. #-------------------------------------------------
  6. QT += core gui network
  7. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  8. TARGET = mephi-tasks
  9. TEMPLATE = app
  10. #QMAKE_CXX = ccache g++
  11. gcc:QMAKE_CXXFLAGS += -std=c++11
  12. gcc:QMAKE_CXXFLAGS_RELEASE += -O2 -march=native
  13. gcc:QMAKE_CXXFLAGS_DEBUG += -O0 -ggdb3
  14. SOURCES += main.cpp\
  15. helpwindow.cpp \
  16. redmine.cpp \
  17. syntaxwindow.cpp \
  18. mainwindow-rector.cpp \
  19. mainwindow-full.cpp \
  20. mainwindow-common.cpp \
  21. htmldelegate.cpp \
  22. redmineitemtree.cpp \
  23. redmineitemtreedata.cpp \
  24. projectmemberswindow.cpp \
  25. roles.cpp \
  26. memberships.cpp \
  27. enumerations.cpp \
  28. signingwindow.cpp \
  29. loginwindow.cpp \
  30. mainwindowandroid.cpp \
  31. logtimewindow.cpp \
  32. redmineclass_time_entry.cpp \
  33. showtimewindow.cpp
  34. HEADERS += \
  35. helpwindow.h \
  36. redmine.h \
  37. common.h \
  38. syntaxwindow.h \
  39. mainwindow-rector.h \
  40. mainwindow-full.h \
  41. mainwindow-common.h \
  42. htmldelegate.h \
  43. redmineitemtree.h \
  44. redmineitemtreedata.h \
  45. projectmemberswindow.h \
  46. roles.h \
  47. memberships.h \
  48. enumerations.h \
  49. signingwindow.h \
  50. loginwindow.h \
  51. mainwindowandroid.h \
  52. logtimewindow.h \
  53. redmineclass_time_entry.h \
  54. showtimewindow.h
  55. FORMS += \
  56. helpwindow.ui \
  57. syntaxwindow.ui \
  58. mainwindow-full.ui \
  59. mainwindow-rector.ui \
  60. projectmemberswindow.ui \
  61. signingwindow.ui \
  62. loginwindow.ui \
  63. mainwindowandroid.ui \
  64. logtimewindow.ui \
  65. showtimewindow.ui
  66. win32:CONFIG(release, debug|release): LIBS += -L$$PWD/build-qtredmine/release/ -lqtredmine
  67. else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/build-qtredmine/debug/ -lqtredmine
  68. else:unix: LIBS += -L$$PWD/build-qtredmine-Desktop/ -lqtredmine
  69. win32:contains(QT_ARCH, i386) {
  70. LIBS += -LC:/OpenSSL-Win32/lib -llibeay32
  71. INCLUDEPATH += C:/OpenSSL-Win32/include
  72. } else {
  73. LIBS += -LC:/OpenSSL-Win64/lib -llibeay32
  74. INCLUDEPATH += C:/OpenSSL-Win64/include
  75. }
  76. winrt {
  77. winphone:equals(WINSDK_VER, 8.0) {
  78. WINRT_MANIFEST.capabilities += ID_CAP_NETWORKING
  79. } else {
  80. WINRT_MANIFEST.capabilities += internetClient
  81. }
  82. CONFIG += windeployqt
  83. QMAKE_CXXFLAGS += -D__WINRT__
  84. }
  85. INCLUDEPATH += $$PWD/qtredmine
  86. DEPENDPATH += $$PWD/qtredmine
  87. OTHER_FILES += \
  88. images/bad.png \
  89. images/heart.png \
  90. images/trash.png
  91. RESOURCES += \
  92. mephi-tasks.qrc
  93. DISTFILES += \
  94. android/AndroidManifest.xml \
  95. android/gradle/wrapper/gradle-wrapper.jar \
  96. android/gradlew \
  97. android/res/values/libs.xml \
  98. android/build.gradle \
  99. android/gradle/wrapper/gradle-wrapper.properties \
  100. android/gradlew.bat
  101. ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android