mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Library renamed to Pdf4Qt
This commit is contained in:
95
Pdf4QtViewer/Pdf4QtViewer.pro
Normal file
95
Pdf4QtViewer/Pdf4QtViewer.pro
Normal file
@@ -0,0 +1,95 @@
|
||||
# Copyright (C) 2018-2020 Jakub Melka
|
||||
#
|
||||
# This file is part of Pdf4Qt.
|
||||
#
|
||||
# Pdf4Qt 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.
|
||||
#
|
||||
# Pdf4Qt 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 Pdf4Qt. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
QT += core gui widgets winextras printsupport texttospeech network xml
|
||||
|
||||
TARGET = Pdf4QtViewer
|
||||
TEMPLATE = lib
|
||||
|
||||
win32:TARGET_EXT = .dll
|
||||
VERSION = 1.0.0
|
||||
|
||||
DEFINES += Pdf4QtVIEWER_LIBRARY
|
||||
|
||||
QMAKE_TARGET_DESCRIPTION = "PDF viewer support library"
|
||||
QMAKE_TARGET_COPYRIGHT = "(c) Jakub Melka 2018-2020"
|
||||
|
||||
DEFINES += QT_DEPRECATED_WARNINGS
|
||||
|
||||
QMAKE_CXXFLAGS += /std:c++latest /utf-8
|
||||
|
||||
INCLUDEPATH += $$PWD/../PDF4QtLib/Sources
|
||||
DESTDIR = $$OUT_PWD/..
|
||||
LIBS += -L$$OUT_PWD/..
|
||||
LIBS += -lPDF4QtLib
|
||||
|
||||
SOURCES += \
|
||||
pdfaboutdialog.cpp \
|
||||
pdfadvancedfindwidget.cpp \
|
||||
pdfdocumentpropertiesdialog.cpp \
|
||||
pdfoptimizedocumentdialog.cpp \
|
||||
pdfprogramcontroller.cpp \
|
||||
pdfrecentfilemanager.cpp \
|
||||
pdfrendertoimagesdialog.cpp \
|
||||
pdfsendmail.cpp \
|
||||
pdfsidebarwidget.cpp \
|
||||
pdftexttospeech.cpp \
|
||||
pdfundoredomanager.cpp \
|
||||
pdfviewermainwindow.cpp \
|
||||
pdfviewersettings.cpp \
|
||||
pdfviewersettingsdialog.cpp
|
||||
|
||||
HEADERS += \
|
||||
pdfaboutdialog.h \
|
||||
pdfadvancedfindwidget.h \
|
||||
pdfdocumentpropertiesdialog.h \
|
||||
pdfoptimizedocumentdialog.h \
|
||||
pdfprogramcontroller.h \
|
||||
pdfrecentfilemanager.h \
|
||||
pdfrendertoimagesdialog.h \
|
||||
pdfsendmail.h \
|
||||
pdfsidebarwidget.h \
|
||||
pdftexttospeech.h \
|
||||
pdfundoredomanager.h \
|
||||
pdfviewerglobal.h \
|
||||
pdfviewermainwindow.h \
|
||||
pdfviewersettings.h \
|
||||
pdfviewersettingsdialog.h
|
||||
|
||||
FORMS += \
|
||||
pdfaboutdialog.ui \
|
||||
pdfadvancedfindwidget.ui \
|
||||
pdfdocumentpropertiesdialog.ui \
|
||||
pdfoptimizedocumentdialog.ui \
|
||||
pdfrendertoimagesdialog.ui \
|
||||
pdfsidebarwidget.ui \
|
||||
pdfviewermainwindow.ui \
|
||||
pdfviewersettingsdialog.ui
|
||||
|
||||
CONFIG += force_debug_info
|
||||
|
||||
viewer_library.files = $$DESTDIR/Pdf4QtViewer.dll
|
||||
viewer_library.path = $$DESTDIR/install
|
||||
INSTALLS += viewer_library
|
||||
|
||||
plugins.files = $$files($$DESTDIR/pdfplugins/*.dll)
|
||||
plugins.path = $$DESTDIR/install/pdfplugins
|
||||
INSTALLS += plugins
|
||||
|
||||
RESOURCES += \
|
||||
pdf4qtviewer.qrc
|
||||
|
Reference in New Issue
Block a user