include( ../../common.pri ) include( ../../app.pri ) QT += core gui network QMAKE_LFLAGS_RELEASE += -static -static-libgcc -static-libstdc++ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = Legacy TEMPLATE = app CXXFLAGS += -O2 -fno-stack-limit CONFIG += resources_big SOURCES += \ main.cpp \ models/downloader.cpp \ models/lotrodatmanager.cpp \ models/selfupdater.cpp \ widgets/helpwidget.cpp \ widgets/mainwindow.cpp \ widgets/menuentry.cpp \ widgets/settingswidget.cpp \ widgets/aboutwidget.cpp \ widgets/statuswidget.cpp \ widgets/newslistwidget.cpp \ widgets/newspiece.cpp \ widgets/serverstatuswidget.cpp \ widgets/chooseversiondialog.cpp \ widgets/weeklycodewidget.cpp \ widgets/dialogwindow.cpp \ widgets/qsmoothscrollarea.cpp \ fonts.cpp \ models/patch/patch.cpp \ models/patch/soundspatch.cpp \ models/patch/videospatch.cpp \ models/patch/textspatch.cpp \ models/patch/graphicspatch.cpp \ models/patchlist.cpp \ legacyapplication.cpp \ models/settings.cpp \ models/filesystem.cpp HEADERS += \ models/downloader.h \ models/filesystem.h \ models/lotrodatmanager.h \ models/selfupdater.h \ widgets/helpwidget.h \ widgets/mainwindow.h \ widgets/menuentry.h \ widgets/settingswidget.h \ widgets/aboutwidget.h \ widgets/statuswidget.h \ widgets/newslistwidget.h \ widgets/newspiece.h \ widgets/serverstatuswidget.h \ widgets/chooseversiondialog.h \ widgets/weeklycodewidget.h \ widgets/dialogwindow.h \ widgets/qsmoothscrollarea.h \ constants.h \ fonts.h \ models/settings.h \ models/patch/patch.h \ models/patch/soundspatch.h \ models/patch/videospatch.h \ models/patch/textspatch.h \ models/patch/graphicspatch.h \ models/patchlist.h \ legacyapplication.h FORMS += \ widgets/helpwidget.ui \ widgets/mainwindow.ui \ widgets/settingswidget.ui \ widgets/aboutwidget.ui \ widgets/statuswidget.ui \ widgets/newspiece.ui \ widgets/serverstatuswidget.ui \ widgets/chooseversiondialog.ui \ widgets/weeklycodewidget.ui \ widgets/dialogwindow.ui win32:RC_ICONS = $${PROJECT_ROOT_PATH}/resources/appicon.ico INCLUDEPATH += $$PWD/src INCLUDEPATH += $$PWD/gui LIBS += -llibLotroDat_static LIBS += -llibyaml-cpp LIBS += -llibzlibstatic CONFIG(debug, debug|release) { RESOURCES += \ $${PROJECT_ROOT_PATH}/resources/backgrounds.qrc \ $${PROJECT_ROOT_PATH}/resources/common.qrc } else { include(../../build_res.pri) }