Legacy.pro 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. include( ../../common.pri )
  2. include( ../../app.pri )
  3. QT += core gui network sql
  4. QMAKE_LFLAGS_RELEASE += -static -static-libgcc -static-libstdc++
  5. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  6. TARGET = Legacy
  7. TEMPLATE = app
  8. CXXFLAGS += -O2 -fno-stack-limit
  9. CONFIG += resources_big
  10. SOURCES += \
  11. main.cpp \
  12. models/downloader.cpp \
  13. models/patchdownloader.cpp \
  14. models/patchinstaller.cpp \
  15. models/selfupdater.cpp \
  16. utils.cpp \
  17. widgets/helpwidget.cpp \
  18. widgets/mainwindow.cpp \
  19. widgets/menuentry.cpp \
  20. widgets/settingswidget.cpp \
  21. widgets/aboutwidget.cpp \
  22. widgets/statuswidget.cpp \
  23. widgets/newslistwidget.cpp \
  24. widgets/newspiece.cpp \
  25. widgets/serverstatuswidget.cpp \
  26. widgets/switchbutton.cpp \
  27. widgets/chooseversiondialog.cpp \
  28. widgets/weeklycodewidget.cpp \
  29. widgets/dialogwindow.cpp \
  30. widgets/qsmoothscrollarea.cpp \
  31. widgets/tooltipbutton.cpp \
  32. fonts.cpp \
  33. legacyapplication.cpp \
  34. models/settings.cpp \
  35. models/filesystem.cpp
  36. HEADERS += \
  37. models/downloader.h \
  38. models/filesystem.h \
  39. models/patchdownloader.h \
  40. models/patchinstaller.h \
  41. models/selfupdater.h \
  42. utils.h \
  43. widgets/helpwidget.h \
  44. widgets/mainwindow.h \
  45. widgets/menuentry.h \
  46. widgets/settingswidget.h \
  47. widgets/aboutwidget.h \
  48. widgets/statuswidget.h \
  49. widgets/newslistwidget.h \
  50. widgets/newspiece.h \
  51. widgets/serverstatuswidget.h \
  52. widgets/switchbutton.h \
  53. widgets/chooseversiondialog.h \
  54. widgets/weeklycodewidget.h \
  55. widgets/dialogwindow.h \
  56. widgets/qsmoothscrollarea.h \
  57. widgets/tooltipbutton.h \
  58. constants.h \
  59. fonts.h \
  60. models/settings.h \
  61. legacyapplication.h
  62. FORMS += \
  63. widgets/helpwidget.ui \
  64. widgets/mainwindow.ui \
  65. widgets/settingswidget.ui \
  66. widgets/aboutwidget.ui \
  67. widgets/statuswidget.ui \
  68. widgets/newspiece.ui \
  69. widgets/serverstatuswidget.ui \
  70. widgets/chooseversiondialog.ui \
  71. widgets/weeklycodewidget.ui \
  72. widgets/dialogwindow.ui
  73. win32:RC_ICONS = $${PROJECT_ROOT_PATH}/resources/appicon.ico
  74. INCLUDEPATH += $$PWD/src
  75. INCLUDEPATH += $$PWD/gui
  76. CONFIG(debug, debug|release) {
  77. RESOURCES += \
  78. $${PROJECT_ROOT_PATH}/resources/backgrounds.qrc \
  79. $${PROJECT_ROOT_PATH}/resources/common.qrc
  80. LIBS += -llibLotroDat_staticd
  81. LIBS += -llibyaml-cppd
  82. } else {
  83. include(../../build_res.pri)
  84. LIBS += -llibLotroDat_static
  85. LIBS += -llibyaml-cpp
  86. }