2020-12-20 17:39:17 +01:00
|
|
|
# Copyright (C) 2018-2020 Jakub Melka
|
2018-11-21 19:30:15 +01:00
|
|
|
#
|
2020-12-20 19:03:58 +01:00
|
|
|
# This file is part of Pdf4Qt.
|
2018-11-21 19:30:15 +01:00
|
|
|
#
|
2020-12-20 19:03:58 +01:00
|
|
|
# Pdf4Qt is free software: you can redistribute it and/or modify
|
2020-12-20 17:39:17 +01:00
|
|
|
# it under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
2020-12-20 19:03:58 +01:00
|
|
|
# Pdf4Qt is distributed in the hope that it will be useful,
|
2020-12-20 17:39:17 +01:00
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Lesser General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
2020-12-20 19:03:58 +01:00
|
|
|
# along with Pdf4Qt. If not, see <https://www.gnu.org/licenses/>.
|
2018-11-21 19:30:15 +01:00
|
|
|
|
2020-12-20 17:39:17 +01:00
|
|
|
QT += core gui widgets winextras printsupport texttospeech network xml
|
2018-11-21 19:30:15 +01:00
|
|
|
|
2020-12-20 19:03:58 +01:00
|
|
|
TARGET = Pdf4QtViewer
|
|
|
|
TEMPLATE = lib
|
2018-11-21 19:30:15 +01:00
|
|
|
|
2020-12-20 19:03:58 +01:00
|
|
|
win32:TARGET_EXT = .dll
|
2020-06-06 18:04:23 +02:00
|
|
|
VERSION = 1.0.0
|
|
|
|
|
2020-12-20 19:03:58 +01:00
|
|
|
DEFINES += Pdf4QtVIEWER_LIBRARY
|
2020-06-06 18:04:23 +02:00
|
|
|
|
2020-12-20 19:03:58 +01:00
|
|
|
QMAKE_TARGET_DESCRIPTION = "PDF viewer support library"
|
2020-06-06 18:04:23 +02:00
|
|
|
QMAKE_TARGET_COPYRIGHT = "(c) Jakub Melka 2018-2020"
|
|
|
|
|
2020-12-20 17:39:17 +01:00
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
2018-11-21 19:30:15 +01:00
|
|
|
|
2018-12-02 17:53:19 +01:00
|
|
|
QMAKE_CXXFLAGS += /std:c++latest /utf-8
|
2018-11-21 19:30:15 +01:00
|
|
|
|
2020-12-20 19:03:58 +01:00
|
|
|
INCLUDEPATH += $$PWD/../PDF4QtLib/Sources
|
2018-11-21 19:30:15 +01:00
|
|
|
DESTDIR = $$OUT_PWD/..
|
|
|
|
LIBS += -L$$OUT_PWD/..
|
2020-12-20 19:03:58 +01:00
|
|
|
LIBS += -lPDF4QtLib
|
2018-11-21 19:30:15 +01:00
|
|
|
|
|
|
|
SOURCES += \
|
2019-11-10 14:17:54 +01:00
|
|
|
pdfaboutdialog.cpp \
|
2020-01-03 18:11:03 +01:00
|
|
|
pdfadvancedfindwidget.cpp \
|
2019-12-20 18:56:03 +01:00
|
|
|
pdfdocumentpropertiesdialog.cpp \
|
2020-05-31 18:31:59 +02:00
|
|
|
pdfoptimizedocumentdialog.cpp \
|
2020-12-20 16:36:07 +01:00
|
|
|
pdfprogramcontroller.cpp \
|
2020-02-01 11:56:40 +01:00
|
|
|
pdfrecentfilemanager.cpp \
|
2020-02-08 18:09:46 +01:00
|
|
|
pdfrendertoimagesdialog.cpp \
|
2019-12-22 18:03:19 +01:00
|
|
|
pdfsendmail.cpp \
|
2019-11-28 18:20:32 +01:00
|
|
|
pdfsidebarwidget.cpp \
|
2020-02-18 20:21:18 +01:00
|
|
|
pdftexttospeech.cpp \
|
2020-04-25 18:15:12 +02:00
|
|
|
pdfundoredomanager.cpp \
|
2019-09-06 19:07:52 +02:00
|
|
|
pdfviewermainwindow.cpp \
|
2020-12-21 18:24:17 +01:00
|
|
|
pdfviewermainwindowlite.cpp \
|
2019-09-06 19:07:52 +02:00
|
|
|
pdfviewersettings.cpp \
|
2020-02-23 18:59:54 +01:00
|
|
|
pdfviewersettingsdialog.cpp
|
2018-11-21 19:30:15 +01:00
|
|
|
|
|
|
|
HEADERS += \
|
2019-11-10 14:17:54 +01:00
|
|
|
pdfaboutdialog.h \
|
2020-01-03 18:11:03 +01:00
|
|
|
pdfadvancedfindwidget.h \
|
2019-12-20 18:56:03 +01:00
|
|
|
pdfdocumentpropertiesdialog.h \
|
2020-05-31 18:31:59 +02:00
|
|
|
pdfoptimizedocumentdialog.h \
|
2020-12-20 16:36:07 +01:00
|
|
|
pdfprogramcontroller.h \
|
2020-02-01 11:56:40 +01:00
|
|
|
pdfrecentfilemanager.h \
|
2020-02-08 18:09:46 +01:00
|
|
|
pdfrendertoimagesdialog.h \
|
2019-12-22 18:03:19 +01:00
|
|
|
pdfsendmail.h \
|
2019-11-28 18:20:32 +01:00
|
|
|
pdfsidebarwidget.h \
|
2020-02-18 20:21:18 +01:00
|
|
|
pdftexttospeech.h \
|
2020-04-25 18:15:12 +02:00
|
|
|
pdfundoredomanager.h \
|
2020-12-20 19:03:58 +01:00
|
|
|
pdfviewerglobal.h \
|
2019-09-06 19:07:52 +02:00
|
|
|
pdfviewermainwindow.h \
|
2020-12-21 18:24:17 +01:00
|
|
|
pdfviewermainwindowlite.h \
|
2019-09-06 19:07:52 +02:00
|
|
|
pdfviewersettings.h \
|
2020-02-23 18:59:54 +01:00
|
|
|
pdfviewersettingsdialog.h
|
2018-11-21 19:30:15 +01:00
|
|
|
|
|
|
|
FORMS += \
|
2019-11-10 14:17:54 +01:00
|
|
|
pdfaboutdialog.ui \
|
2020-01-03 18:11:03 +01:00
|
|
|
pdfadvancedfindwidget.ui \
|
2019-12-20 18:56:03 +01:00
|
|
|
pdfdocumentpropertiesdialog.ui \
|
2020-05-31 18:31:59 +02:00
|
|
|
pdfoptimizedocumentdialog.ui \
|
2020-02-08 18:09:46 +01:00
|
|
|
pdfrendertoimagesdialog.ui \
|
2019-11-28 18:20:32 +01:00
|
|
|
pdfsidebarwidget.ui \
|
2019-09-06 19:07:52 +02:00
|
|
|
pdfviewermainwindow.ui \
|
2020-12-21 18:24:17 +01:00
|
|
|
pdfviewermainwindowlite.ui \
|
2019-09-06 19:07:52 +02:00
|
|
|
pdfviewersettingsdialog.ui
|
2018-11-21 19:30:15 +01:00
|
|
|
|
2018-11-25 17:57:39 +01:00
|
|
|
CONFIG += force_debug_info
|
|
|
|
|
2020-12-20 19:03:58 +01:00
|
|
|
viewer_library.files = $$DESTDIR/Pdf4QtViewer.dll
|
|
|
|
viewer_library.path = $$DESTDIR/install
|
|
|
|
INSTALLS += viewer_library
|
2019-07-31 18:19:23 +02:00
|
|
|
|
2020-11-17 18:28:34 +01:00
|
|
|
plugins.files = $$files($$DESTDIR/pdfplugins/*.dll)
|
|
|
|
plugins.path = $$DESTDIR/install/pdfplugins
|
|
|
|
INSTALLS += plugins
|
|
|
|
|
2019-09-06 19:07:52 +02:00
|
|
|
RESOURCES += \
|
2020-12-20 19:03:58 +01:00
|
|
|
pdf4qtviewer.qrc
|
2019-09-06 19:07:52 +02:00
|
|
|
|