mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
144 lines
3.9 KiB
Plaintext
144 lines
3.9 KiB
Plaintext
INCLUDEPATH += $$PWD
|
|
DEPENDPATH += $$PWD
|
|
INCLUDEPATH += .
|
|
INCLUDEPATH += $$PWD/../common \
|
|
$$PWD/../custom_widgets
|
|
|
|
win32 {
|
|
LIBS += -L$$PWD/../dependencies/poppler/lib -loleaut32 -lole32
|
|
|
|
isEqual(QT_MAJOR_VERSION, 5) {
|
|
LIBS += -lpoppler-qt5
|
|
INCLUDEPATH += ../dependencies/poppler/include/qt5
|
|
}
|
|
else {
|
|
LIBS += -lpoppler-qt4
|
|
INCLUDEPATH += ../dependencies/poppler/include/qt4
|
|
}
|
|
|
|
QMAKE_CXXFLAGS_RELEASE += /MP /Ob2 /Oi /Ot /GT /GL
|
|
QMAKE_LFLAGS_RELEASE += /LTCG
|
|
CONFIG -= embed_manifest_exe
|
|
}
|
|
|
|
unix:!macx{
|
|
|
|
isEqual(QT_MAJOR_VERSION, 5) {
|
|
INCLUDEPATH += /usr/include/poppler/qt5
|
|
LIBS += -L/usr/lib -lpoppler-qt5
|
|
}
|
|
else {
|
|
INCLUDEPATH += /usr/include/poppler/qt4
|
|
LIBS += -L/usr/lib -lpoppler-qt4
|
|
|
|
}
|
|
LIBS += -lGLU
|
|
}
|
|
|
|
macx{
|
|
#INCLUDEPATH += "/Volumes/Mac OS X Lion/usr/X11/include"
|
|
#isEqual(QT_MAJOR_VERSION, 5) {
|
|
#INCLUDEPATH += /usr/local/include/poppler/qt5
|
|
#LIBS += -L/usr/local/lib -lpoppler-qt5
|
|
#}
|
|
#else {
|
|
#INCLUDEPATH += /usr/local/include/poppler/qt4
|
|
#LIBS += -L/usr/local/lib -lpoppler-qt4
|
|
#}
|
|
|
|
LIBS += -framework Foundation -framework ApplicationServices
|
|
|
|
OBJECTIVE_SOURCES += $$PWD/../common/pdf_comic.mm
|
|
HEADERS += $$PWD/../common/pdf_comic.h
|
|
CONFIG += objective_c
|
|
}
|
|
|
|
QT += network opengl
|
|
#CONFIG += release
|
|
CONFIG -= flat
|
|
|
|
isEqual(QT_MAJOR_VERSION, 5) {
|
|
QT += multimedia
|
|
} else {
|
|
QT += phonon
|
|
}
|
|
|
|
# Input
|
|
HEADERS += $$PWD/../common/comic.h \
|
|
$$PWD/configuration.h \
|
|
$$PWD/goto_dialog.h \
|
|
$$PWD/magnifying_glass.h \
|
|
$$PWD/main_window_viewer.h \
|
|
$$PWD/viewer.h \
|
|
$$PWD/goto_flow.h \
|
|
$$PWD/options_dialog.h \
|
|
$$PWD/../common/bookmarks.h \
|
|
$$PWD/bookmarks_dialog.h \
|
|
$$PWD/render.h \
|
|
$$PWD/shortcuts_dialog.h \
|
|
$$PWD/translator.h \
|
|
$$PWD/goto_flow_gl.h \
|
|
$$PWD/goto_flow_widget.h \
|
|
$$PWD/page_label_widget.h \
|
|
$$PWD/goto_flow_toolbar.h \
|
|
$$PWD/goto_flow_decorationbar.h \
|
|
$$PWD/width_slider.h \
|
|
$$PWD/notifications_label_widget.h \
|
|
$$PWD/../common/pictureflow.h \
|
|
$$PWD/../common/custom_widgets.h \
|
|
$$PWD/../common/check_new_version.h \
|
|
$$PWD/../common/qnaturalsorting.h \
|
|
$$PWD/../common/yacreader_flow_gl.h \
|
|
$$PWD/../common/yacreader_global.h \
|
|
$$PWD/../common/onstart_flow_selection_dialog.h \
|
|
$$PWD/../common/comic_db.h \
|
|
$$PWD/../common/folder.h \
|
|
$$PWD/../common/library_item.h \
|
|
$$PWD/yacreader_local_client.h \
|
|
$$PWD/../common/http_worker.h \
|
|
$$PWD/../common/exit_check.h \
|
|
|
|
SOURCES += $$PWD/../common/comic.cpp \
|
|
$$PWD/configuration.cpp \
|
|
$$PWD/goto_dialog.cpp \
|
|
$$PWD/magnifying_glass.cpp \
|
|
$$PWD/main_window_viewer.cpp \
|
|
$$PWD/viewer.cpp \
|
|
$$PWD/goto_flow.cpp \
|
|
$$PWD/options_dialog.cpp \
|
|
$$PWD/../common/bookmarks.cpp \
|
|
$$PWD/bookmarks_dialog.cpp \
|
|
$$PWD/render.cpp \
|
|
$$PWD/shortcuts_dialog.cpp \
|
|
$$PWD/translator.cpp \
|
|
$$PWD/goto_flow_gl.cpp \
|
|
$$PWD/goto_flow_widget.cpp \
|
|
$$PWD/page_label_widget.cpp \
|
|
$$PWD/goto_flow_toolbar.cpp \
|
|
$$PWD/goto_flow_decorationbar.cpp \
|
|
$$PWD/width_slider.cpp \
|
|
$$PWD/notifications_label_widget.cpp \
|
|
$$PWD/../common/pictureflow.cpp \
|
|
$$PWD/../common/custom_widgets.cpp \
|
|
$$PWD/../common/check_new_version.cpp \
|
|
$$PWD/../common/qnaturalsorting.cpp \
|
|
$$PWD/../common/yacreader_flow_gl.cpp \
|
|
$$PWD/../common/onstart_flow_selection_dialog.cpp \
|
|
$$PWD/../common/comic_db.cpp \
|
|
$$PWD/../common/folder.cpp \
|
|
$$PWD/../common/library_item.cpp \
|
|
$$PWD/yacreader_local_client.cpp \
|
|
$$PWD/../common/http_worker.cpp \
|
|
$$PWD/../common/yacreader_global.cpp \
|
|
$$PWD/../common/exit_check.cpp \
|
|
|
|
include($$PWD/../custom_widgets/custom_widgets_yacreader.pri)
|
|
include($$PWD/../compressed_archive/wrapper.pri)
|
|
|
|
RESOURCES += $$PWD/yacreader_images.qrc \
|
|
$$PWD/yacreader_files.qrc
|
|
|
|
win32:RESOURCES += $$PWD/yacreader_images_win.qrc
|
|
unix:!macx:RESOURCES += $$PWD/yacreader_images_win.qrc
|
|
macx:RESOURCES += $$PWD/yacreader_images_osx.qrc
|