2018-08-12 16:45:39 +02:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2018-08-09T12:23:48
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
2021-09-28 21:44:09 +02:00
|
|
|
QT += core concurrent gui network
|
2018-08-12 16:45:39 +02:00
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
2022-06-21 22:10:21 +02:00
|
|
|
|
2019-08-17 11:06:35 +02:00
|
|
|
CONFIG += c++17
|
2022-06-21 22:10:21 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-12 15:06:41 +02:00
|
|
|
TARGET = looqs-gui
|
2018-08-12 16:45:39 +02:00
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any feature of Qt which has been marked as deprecated (the exact warnings
|
|
|
|
# depend on your compiler). Please consult the documentation of the
|
|
|
|
# deprecated API in order to know how to port your code away from it.
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
# You can also make your code fail to compile if you use deprecated APIs.
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
SOURCES += \
|
2022-06-29 17:21:28 +02:00
|
|
|
aboutdialog.cpp \
|
2022-05-27 09:29:56 +02:00
|
|
|
ipcpreviewclient.cpp \
|
|
|
|
ipcpreviewworker.cpp \
|
2021-09-28 21:44:09 +02:00
|
|
|
ipcserver.cpp \
|
2018-08-12 16:45:39 +02:00
|
|
|
main.cpp \
|
|
|
|
mainwindow.cpp \
|
2022-01-03 23:02:21 +01:00
|
|
|
clicklabel.cpp \
|
2023-01-08 17:37:28 +01:00
|
|
|
previewcoordinator.cpp \
|
2022-01-03 23:02:21 +01:00
|
|
|
previewgenerator.cpp \
|
|
|
|
previewgeneratormapfunctor.cpp \
|
2022-07-24 11:42:29 +02:00
|
|
|
previewgeneratorodt.cpp \
|
2022-01-03 23:02:21 +01:00
|
|
|
previewgeneratorpdf.cpp \
|
2022-04-24 12:30:31 +02:00
|
|
|
previewgeneratorplaintext.cpp \
|
2022-01-03 23:02:21 +01:00
|
|
|
previewresult.cpp \
|
2022-07-24 11:42:29 +02:00
|
|
|
previewresultodt.cpp \
|
2022-01-03 23:02:21 +01:00
|
|
|
previewresultpdf.cpp \
|
2022-04-24 12:30:31 +02:00
|
|
|
previewresultplaintext.cpp \
|
2022-05-27 09:29:56 +02:00
|
|
|
renderconfig.cpp \
|
|
|
|
rendertarget.cpp
|
2018-08-12 16:45:39 +02:00
|
|
|
|
|
|
|
HEADERS += \
|
2022-06-29 17:21:28 +02:00
|
|
|
aboutdialog.h \
|
2021-09-28 21:44:09 +02:00
|
|
|
ipc.h \
|
2022-05-27 09:29:56 +02:00
|
|
|
ipcpreviewclient.h \
|
|
|
|
ipcpreviewworker.h \
|
2021-09-28 21:44:09 +02:00
|
|
|
ipcserver.h \
|
2018-08-12 16:45:39 +02:00
|
|
|
mainwindow.h \
|
2022-01-03 23:02:21 +01:00
|
|
|
clicklabel.h \
|
2023-01-08 17:37:28 +01:00
|
|
|
previewcoordinator.h \
|
2022-01-03 23:02:21 +01:00
|
|
|
previewgenerator.h \
|
|
|
|
previewgeneratormapfunctor.h \
|
2022-07-24 11:42:29 +02:00
|
|
|
previewgeneratorodt.h \
|
2022-01-03 23:02:21 +01:00
|
|
|
previewgeneratorpdf.h \
|
2022-04-24 12:30:31 +02:00
|
|
|
previewgeneratorplaintext.h \
|
2022-01-03 23:02:21 +01:00
|
|
|
previewresult.h \
|
2022-07-24 11:42:29 +02:00
|
|
|
previewresultodt.h \
|
2022-01-03 23:02:21 +01:00
|
|
|
previewresultpdf.h \
|
2022-04-24 12:30:31 +02:00
|
|
|
previewresultplaintext.h \
|
2022-05-27 09:29:56 +02:00
|
|
|
renderconfig.h \
|
|
|
|
rendertarget.h
|
2018-08-12 16:45:39 +02:00
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
mainwindow.ui
|
|
|
|
|
2024-05-20 19:14:40 +02:00
|
|
|
INCLUDEPATH += /usr/include/poppler/qt6/
|
|
|
|
INCLUDEPATH += /usr/include/quazip6
|
2022-04-14 15:04:16 +02:00
|
|
|
|
2018-08-12 16:45:39 +02:00
|
|
|
QT += widgets sql
|
|
|
|
|
2019-04-20 23:31:14 +02:00
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../shared/release/ -lshared
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../shared/debug/ -lshared
|
|
|
|
else:unix: LIBS += -L$$OUT_PWD/../shared/ -lshared
|
|
|
|
|
2024-05-20 19:14:40 +02:00
|
|
|
LIBS += -luchardet -lpoppler-qt6 -lquazip6
|
2022-04-14 15:04:16 +02:00
|
|
|
|
2024-05-20 19:14:40 +02:00
|
|
|
packagesExist(quazip1-qt6) {
|
|
|
|
PKGCONFIG += quazip1-qt6
|
2022-06-21 22:10:21 +02:00
|
|
|
CONFIG += link_pkgconfig
|
2024-05-20 19:14:40 +02:00
|
|
|
LIBS -= -lquazip6
|
2022-06-21 22:10:21 +02:00
|
|
|
}
|
|
|
|
|
2019-04-20 23:31:14 +02:00
|
|
|
INCLUDEPATH += $$PWD/../shared
|
|
|
|
DEPENDPATH += $$PWD/../shared
|
|
|
|
|
|
|
|
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../shared/release/libshared.a
|
|
|
|
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../shared/debug/libshared.a
|
|
|
|
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../shared/release/shared.lib
|
|
|
|
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../shared/debug/shared.lib
|
|
|
|
else:unix: PRE_TARGETDEPS += $$OUT_PWD/../shared/libshared.a
|
2022-04-28 09:13:34 +02:00
|
|
|
|
2022-06-06 15:45:59 +02:00
|
|
|
RESOURCES = ../looqs.svg
|