2021-04-30 20:12:10 +02:00
|
|
|
# Copyright (C) 2020-2021 Jakub Melka
|
2020-11-17 18:28:34 +01:00
|
|
|
#
|
2020-12-20 19:03:58 +01:00
|
|
|
# This file is part of Pdf4Qt.
|
2020-11-17 18:28:34 +01:00
|
|
|
#
|
2020-12-20 19:03:58 +01:00
|
|
|
# Pdf4Qt is free software: you can redistribute it and/or modify
|
2020-11-17 18:28:34 +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
|
2021-04-30 20:12:10 +02:00
|
|
|
# with the written consent of the copyright owner, any later version.
|
2020-11-17 18:28:34 +01:00
|
|
|
#
|
2020-12-20 19:03:58 +01:00
|
|
|
# Pdf4Qt is distributed in the hope that it will be useful,
|
2020-11-17 18:28:34 +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/>.
|
2020-11-17 18:28:34 +01:00
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
DEFINES += DIMENSIONPLUGIN_LIBRARY
|
|
|
|
|
2020-11-19 19:54:33 +01:00
|
|
|
QT += gui widgets
|
|
|
|
|
2020-11-17 18:28:34 +01:00
|
|
|
LIBS += -L$$OUT_PWD/../..
|
|
|
|
|
2020-12-20 19:03:58 +01:00
|
|
|
LIBS += -lPdf4QtLib
|
2020-11-17 18:28:34 +01:00
|
|
|
|
|
|
|
QMAKE_CXXFLAGS += /std:c++latest /utf-8
|
|
|
|
|
2020-12-20 19:03:58 +01:00
|
|
|
INCLUDEPATH += $$PWD/../../Pdf4QtLib/Sources
|
2020-11-17 18:28:34 +01:00
|
|
|
|
|
|
|
DESTDIR = $$OUT_PWD/../../pdfplugins
|
|
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
SOURCES += \
|
2020-11-19 19:54:33 +01:00
|
|
|
dimensionsplugin.cpp \
|
2020-11-21 16:56:10 +01:00
|
|
|
dimensiontool.cpp \
|
|
|
|
settingsdialog.cpp
|
2020-11-17 18:28:34 +01:00
|
|
|
|
|
|
|
HEADERS += \
|
2020-11-19 19:54:33 +01:00
|
|
|
dimensionsplugin.h \
|
2020-11-21 16:56:10 +01:00
|
|
|
dimensiontool.h \
|
|
|
|
settingsdialog.h
|
2020-11-17 18:28:34 +01:00
|
|
|
|
|
|
|
CONFIG += force_debug_info
|
|
|
|
|
|
|
|
DISTFILES += \
|
|
|
|
DimensionsPlugin.json
|
2020-11-19 19:54:33 +01:00
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
icons.qrc
|
2020-11-21 16:56:10 +01:00
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
settingsdialog.ui
|