fixed compilation of YACReaderLibrary and YACReaderLibraryServer, removing all the dependecies on QtWidgets from non gui code

This commit is contained in:
Luis Ángel San Martín
2015-12-12 12:10:37 +01:00
parent c1e14aea1f
commit e1de588e40
24 changed files with 48 additions and 68 deletions

View File

@ -67,10 +67,6 @@ HEADERS += library_creator.h \
bundle_creator.h \
db_helper.h \
./db/data_base_management.h \
# ./db/folder_item.h \
# ./db/folder_model.h \
# ./db/comic_model.h \
# ./db/comic_item.h \
../common/comic_db.h \
../common/folder.h \
../common/library_item.h \
@ -82,8 +78,8 @@ HEADERS += library_creator.h \
comics_remover.h \
../common/http_worker.h \
yacreader_libraries.h \
comic_files_manager.h \
# db/reading_list_model.h
comic_files_manager.h
SOURCES += library_creator.cpp \
.\headless\main.cpp \
@ -102,8 +98,7 @@ SOURCES += library_creator.cpp \
../common/http_worker.cpp \
../common/yacreader_global.cpp \
yacreader_libraries.cpp \
comic_files_manager.cpp \
comic_files_manager.cpp
include(./server/server.pri)
@ -114,9 +109,9 @@ include(../compressed_archive/unarr/unarr-wrapper.pri)
} else {
error(No compression backend specified. Did you mess with the build system?)
}
include(../QsLog/QsLog.pri)
TRANSLATIONS = yacreaderlibraryserver_es.ts \
yacreaderlibraryserver_ru.ts \
yacreaderlibraryserver_pt.ts \
@ -130,6 +125,7 @@ TRANSLATIONS = yacreaderlibraryserver_es.ts \
Release:DESTDIR = ../release
Debug:DESTDIR = ../debug
unix:!macx {
#set install prefix if it's empty
isEmpty(PREFIX) {