Legacy-advanced.pro 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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\lotromanager.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\lotroprogresswidget.cpp
  32. HEADERS += \
  33. models\downloader.h \
  34. models\filesystem.h \
  35. models\lotromanager.h \
  36. widgets\browsewidget.h \
  37. widgets\exportwidget.h \
  38. widgets\importwidget.h \
  39. widgets\mainwindow.h \
  40. widgets\managewidget.h \
  41. widgets\menuentry.h \
  42. widgets\messagedialog.h \
  43. widgets\lotroprogresswidget.h
  44. FORMS += \
  45. widgets\browsewidget.ui \
  46. widgets\exportwidget.ui \
  47. widgets\importwidget.ui \
  48. widgets\mainwindow.ui \
  49. widgets\managewidget.ui \
  50. widgets\messagedialog.ui \
  51. widgets\lotroprogresswidget.ui
  52. RESOURCES += \
  53. resources\backgrounds.qrc \
  54. resources\common.qrc
  55. win32:RC_ICONS = $$PWD/resources/appicon.ico
  56. INCLUDEPATH += $$PWD/src
  57. INCLUDEPATH += $$PWD/widgets
  58. LIBS += -llibLotroDat_static
  59. LIBS += -llibyaml-cpp
  60. LIBS += -llibzlibstatic
  61. CONFIG(debug, debug|release) {
  62. RESOURCES += \
  63. resources/backgrounds.qrc \
  64. resources/common.qrc
  65. } else {
  66. include(build_res.pri)
  67. }