2020-09-25 18:08:39 +02:00
|
|
|
# Copyright (C) 2020 Jakub Melka
|
|
|
|
#
|
|
|
|
# This file is part of PdfForQt.
|
|
|
|
#
|
|
|
|
# PdfForQt is free software: you can redistribute it and/or modify
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
# PdfForQt is distributed in the hope that it will be useful,
|
|
|
|
# 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
|
|
|
|
# along with PDFForQt. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
CONFIG += c++11 console
|
|
|
|
CONFIG -= app_bundle
|
|
|
|
|
|
|
|
TARGET = PdfTool
|
|
|
|
VERSION = 1.0.0
|
|
|
|
|
|
|
|
QMAKE_TARGET_DESCRIPTION = "PDF tool for Qt"
|
|
|
|
QMAKE_TARGET_COPYRIGHT = "(c) Jakub Melka 2018-2020"
|
|
|
|
|
|
|
|
# You can make your code fail to compile if it uses deprecated APIs.
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
QMAKE_CXXFLAGS += /std:c++latest /utf-8
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../PDFForQtLib/Sources
|
|
|
|
|
|
|
|
DESTDIR = $$OUT_PWD/..
|
|
|
|
|
|
|
|
LIBS += -L$$OUT_PWD/..
|
|
|
|
|
|
|
|
LIBS += -lPDFForQtLib
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
main.cpp \
|
2020-09-26 14:52:48 +02:00
|
|
|
pdfoutputformatter.cpp \
|
2020-09-27 18:02:57 +02:00
|
|
|
pdftoolabstractapplication.cpp \
|
2020-10-02 15:14:45 +02:00
|
|
|
pdftoolattachments.cpp \
|
2020-10-18 17:49:16 +02:00
|
|
|
pdftoolaudiobook.cpp \
|
2020-10-25 14:56:31 +01:00
|
|
|
pdftoolcolorprofiles.cpp \
|
2020-10-29 19:17:24 +01:00
|
|
|
pdftoolfetchimages.cpp \
|
2020-10-11 18:21:20 +02:00
|
|
|
pdftoolfetchtext.cpp \
|
2020-10-04 16:56:55 +02:00
|
|
|
pdftoolinfo.cpp \
|
2020-10-24 14:39:09 +02:00
|
|
|
pdftoolinfofonts.cpp \
|
2020-10-05 19:50:04 +02:00
|
|
|
pdftoolinfojavascript.cpp \
|
2020-10-09 17:08:56 +02:00
|
|
|
pdftoolinfometadata.cpp \
|
2020-10-07 18:57:34 +02:00
|
|
|
pdftoolinfonameddestinations.cpp \
|
2020-10-08 18:47:04 +02:00
|
|
|
pdftoolinfopageboxes.cpp \
|
2020-10-10 14:45:14 +02:00
|
|
|
pdftoolinfostructuretree.cpp \
|
2020-10-25 18:55:25 +01:00
|
|
|
pdftoolrender.cpp \
|
2020-10-31 14:23:13 +01:00
|
|
|
pdftoolseparate.cpp \
|
2020-10-31 17:11:51 +01:00
|
|
|
pdftoolunite.cpp \
|
2020-09-30 18:41:22 +02:00
|
|
|
pdftoolverifysignatures.cpp \
|
|
|
|
pdftoolxml.cpp
|
2020-09-25 18:08:39 +02:00
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
|
|
|
|
application.files = $$DESTDIR/PdfTool.exe
|
|
|
|
application.path = $$DESTDIR/install
|
|
|
|
INSTALLS += application
|
|
|
|
|
|
|
|
HEADERS += \
|
2020-09-26 14:52:48 +02:00
|
|
|
pdfoutputformatter.h \
|
2020-09-27 18:02:57 +02:00
|
|
|
pdftoolabstractapplication.h \
|
2020-10-02 15:14:45 +02:00
|
|
|
pdftoolattachments.h \
|
2020-10-18 17:49:16 +02:00
|
|
|
pdftoolaudiobook.h \
|
2020-10-25 14:56:31 +01:00
|
|
|
pdftoolcolorprofiles.h \
|
2020-10-29 19:17:24 +01:00
|
|
|
pdftoolfetchimages.h \
|
2020-10-11 18:21:20 +02:00
|
|
|
pdftoolfetchtext.h \
|
2020-10-04 16:56:55 +02:00
|
|
|
pdftoolinfo.h \
|
2020-10-24 14:39:09 +02:00
|
|
|
pdftoolinfofonts.h \
|
2020-10-05 19:50:04 +02:00
|
|
|
pdftoolinfojavascript.h \
|
2020-10-09 17:08:56 +02:00
|
|
|
pdftoolinfometadata.h \
|
2020-10-07 18:57:34 +02:00
|
|
|
pdftoolinfonameddestinations.h \
|
2020-10-08 18:47:04 +02:00
|
|
|
pdftoolinfopageboxes.h \
|
2020-10-10 14:45:14 +02:00
|
|
|
pdftoolinfostructuretree.h \
|
2020-10-25 18:55:25 +01:00
|
|
|
pdftoolrender.h \
|
2020-10-31 14:23:13 +01:00
|
|
|
pdftoolseparate.h \
|
2020-10-31 17:11:51 +01:00
|
|
|
pdftoolunite.h \
|
2020-09-30 18:41:22 +02:00
|
|
|
pdftoolverifysignatures.h \
|
|
|
|
pdftoolxml.h
|