Legacy-advanced.pro 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. include( ../../common.pri )
  2. include( ../../app.pri )
  3. QT += core gui network
  4. QMAKE_LFLAGS_RELEASE += -static -static-libgcc -static-libstdc++
  5. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  6. TARGET = Legacy-advanced
  7. TEMPLATE = app
  8. CXXFLAGS += -O2 -fno-stack-limit
  9. CONFIG += resources_big
  10. # The following define makes your compiler emit warnings if you use
  11. # any feature of Qt which has been marked as deprecated (the exact warnings
  12. # depend on your compiler). Please consult the documentation of the
  13. # deprecated API in order to know how to port your code away from it.
  14. DEFINES += QT_DEPRECATED_WARNINGS
  15. # You can also make your code fail to compile if you use deprecated APIs.
  16. # In order to do so, uncomment the following line.
  17. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  18. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  19. SOURCES += \
  20. main.cpp \
  21. models\downloader.cpp \
  22. models\filesystem.cpp \
  23. models\lotro.cpp \
  24. widgets\browsewidget.cpp \
  25. widgets\exportwidget.cpp \
  26. widgets\importwidget.cpp \
  27. widgets\mainwindow.cpp \
  28. widgets\managewidget.cpp \
  29. widgets\menuentry.cpp \
  30. widgets\messagedialog.cpp \
  31. widgets\processdialog.cpp \
  32. widgets\statuswidget.cpp
  33. HEADERS += \
  34. models\downloader.h \
  35. models\filesystem.h \
  36. models\lotro.h \
  37. widgets\browsewidget.h \
  38. widgets\exportwidget.h \
  39. widgets\importwidget.h \
  40. widgets\mainwindow.h \
  41. widgets\managewidget.h \
  42. widgets\menuentry.h \
  43. widgets\messagedialog.h \
  44. widgets\processdialog.h \
  45. widgets\statuswidget.h
  46. FORMS += \
  47. widgets\browsewidget.ui \
  48. widgets\exportwidget.ui \
  49. widgets\importwidget.ui \
  50. widgets\mainwindow.ui \
  51. widgets\managewidget.ui \
  52. widgets\messagedialog.ui \
  53. widgets\processdialog.ui \
  54. widgets\statuswidget.ui
  55. RESOURCES += \
  56. backgrounds.qrc \
  57. common.qrc
  58. win32:RC_ICONS = $$PWD/resources/appicon.ico
  59. INCLUDEPATH += $$PWD/src
  60. INCLUDEPATH += $$PWD/widgets
  61. LIBS += -llibLotroDat_static
  62. LIBS += -llibyaml-cpp
  63. LIBS += -llibzlibstatic
  64. CONFIG(debug, debug|release) {
  65. RESOURCES += \
  66. resources/backgrounds.qrc \
  67. resources/common.qrc
  68. } else {
  69. include(build_res.pri)
  70. }