Library renamed to Pdf4Qt

This commit is contained in:
Jakub Melka 2020-12-20 19:03:58 +01:00
parent 6811820e1a
commit 7614ab8240
506 changed files with 1191 additions and 1081 deletions

View File

@ -1,19 +1,19 @@
// Copyright (C) 2020 Jakub Melka // Copyright (C) 2020 Jakub Melka
// //
// This file is part of PdfForQt. // This file is part of Pdf4Qt.
// //
// PdfForQt is free software: you can redistribute it and/or modify // 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 // 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 // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// PdfForQt is distributed in the hope that it will be useful, // Pdf4Qt is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with PDFForQt. If not, see <https://www.gnu.org/licenses/>. // along with Pdf4Qt. If not, see <https://www.gnu.org/licenses/>.
#include "codegenerator.h" #include "codegenerator.h"

View File

@ -1,19 +1,19 @@
// Copyright (C) 2020 Jakub Melka // Copyright (C) 2020 Jakub Melka
// //
// This file is part of PdfForQt. // This file is part of Pdf4Qt.
// //
// PdfForQt is free software: you can redistribute it and/or modify // 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 // 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 // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// PdfForQt is distributed in the hope that it will be useful, // Pdf4Qt is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with PDFForQt. If not, see <https://www.gnu.org/licenses/>. // along with Pdf4Qt. If not, see <https://www.gnu.org/licenses/>.
#ifndef CODEGENERATOR_H #ifndef CODEGENERATOR_H
#define CODEGENERATOR_H #define CODEGENERATOR_H

View File

@ -1,19 +1,19 @@
// Copyright (C) 2020 Jakub Melka // Copyright (C) 2020 Jakub Melka
// //
// This file is part of PdfForQt. // This file is part of Pdf4Qt.
// //
// PdfForQt is free software: you can redistribute it and/or modify // 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 // 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 // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// PdfForQt is distributed in the hope that it will be useful, // Pdf4Qt is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with PDFForQt. If not, see <https://www.gnu.org/licenses/>. // along with Pdf4Qt. If not, see <https://www.gnu.org/licenses/>.
#include "generatormainwindow.h" #include "generatormainwindow.h"
#include "ui_generatormainwindow.h" #include "ui_generatormainwindow.h"

View File

@ -1,19 +1,19 @@
// Copyright (C) 2020 Jakub Melka // Copyright (C) 2020 Jakub Melka
// //
// This file is part of PdfForQt. // This file is part of Pdf4Qt.
// //
// PdfForQt is free software: you can redistribute it and/or modify // 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 // 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 // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// PdfForQt is distributed in the hope that it will be useful, // Pdf4Qt is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with PDFForQt. If not, see <https://www.gnu.org/licenses/>. // along with Pdf4Qt. If not, see <https://www.gnu.org/licenses/>.
#ifndef GENERATORMAINWINDOW_H #ifndef GENERATORMAINWINDOW_H
#define GENERATORMAINWINDOW_H #define GENERATORMAINWINDOW_H

View File

@ -1,19 +1,19 @@
// Copyright (C) 2020 Jakub Melka // Copyright (C) 2020 Jakub Melka
// //
// This file is part of PdfForQt. // This file is part of Pdf4Qt.
// //
// PdfForQt is free software: you can redistribute it and/or modify // 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 // 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 // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// PdfForQt is distributed in the hope that it will be useful, // Pdf4Qt is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with PDFForQt. If not, see <https://www.gnu.org/licenses/>. // along with Pdf4Qt. If not, see <https://www.gnu.org/licenses/>.
#include "generatormainwindow.h" #include "generatormainwindow.h"

View File

@ -17,13 +17,13 @@ DEFINES += QT_DEPRECATED_WARNINGS
QMAKE_CXXFLAGS += /std:c++latest /utf-8 QMAKE_CXXFLAGS += /std:c++latest /utf-8
INCLUDEPATH += $$PWD/../PDFForQtLib/Sources INCLUDEPATH += $$PWD/../PDF4QtLib/Sources
DESTDIR = $$OUT_PWD/.. DESTDIR = $$OUT_PWD/..
LIBS += -L$$OUT_PWD/.. LIBS += -L$$OUT_PWD/..
LIBS += -lPDFForQtLib LIBS += -lPDF4QtLib
SOURCES += \ SOURCES += \
main.cpp \ main.cpp \

View File

@ -1,36 +1,38 @@
# Copyright (C) 2018-2020 Jakub Melka # Copyright (C) 2018-2020 Jakub Melka
# #
# This file is part of PdfForQt. # This file is part of Pdf4Qt.
# #
# PdfForQt is free software: you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
# #
# PdfForQt is distributed in the hope that it will be useful, # Pdf4Qt is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the GNU Lesser General Public License
# along with PDFForQt. If not, see <https://www.gnu.org/licenses/>. # along with Pdf4Qt. If not, see <https://www.gnu.org/licenses/>.
TEMPLATE = subdirs TEMPLATE = subdirs
SUBDIRS += \ SUBDIRS += \
PdfForQtLib \ Pdf4QtLib \
CodeGenerator \ CodeGenerator \
JBIG2_Viewer \ JBIG2_Viewer \
PdfExampleGenerator \ PdfExampleGenerator \
PdfTool \ PdfTool \
UnitTests \ UnitTests \
PdfForQtViewer \ Pdf4QtViewer \
PdfForQtViewerPlugins Pdf4QtViewerPlugins \
Pdf4QtViewerProfi
UnitTests.depends = PdfForQtLib CodeGenerator.depends = Pdf4QtLib
PdfForQtViewer.depends = PdfForQtLib JBIG2_Viewer.depends = Pdf4QtLib
JBIG2_Viewer.depends = PdfForQtLib PdfExampleGenerator.depends = Pdf4QtLib
PdfExampleGenerator.depends = PdfForQtLib PdfTool.depends = Pdf4QtLib
CodeGenerator.depends = PdfForQtLib UnitTests.depends = Pdf4QtLib
PdfTool.depends = PdfForQtLib Pdf4QtViewer.depends = Pdf4QtLib
PdfForQtViewerPlugins.depends = PdfForQtLib Pdf4QtViewerPlugins.depends = Pdf4QtLib
Pdf4QtViewerProfi.depends = Pdf4QtViewer

View File

@ -1,23 +1,23 @@
# Copyright (C) 2018-2020 Jakub Melka # Copyright (C) 2018-2020 Jakub Melka
# #
# This file is part of PdfForQt. # This file is part of Pdf4Qt.
# #
# PdfForQt is free software: you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
# #
# PdfForQt is distributed in the hope that it will be useful, # Pdf4Qt is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the GNU Lesser General Public License
# along with PDFForQt. If not, see <https://www.gnu.org/licenses/>. # along with Pdf4Qt. If not, see <https://www.gnu.org/licenses/>.
QT += gui widgets QT += gui widgets
TARGET = PdfForQtLib TARGET = Pdf4QtLib
TEMPLATE = lib TEMPLATE = lib
win32:TARGET_EXT = .dll win32:TARGET_EXT = .dll
@ -26,7 +26,7 @@ VERSION = 1.0.0
QMAKE_TARGET_DESCRIPTION = "PDF rendering / editing library for Qt" QMAKE_TARGET_DESCRIPTION = "PDF rendering / editing library for Qt"
QMAKE_TARGET_COPYRIGHT = "(c) Jakub Melka 2018-2020" QMAKE_TARGET_COPYRIGHT = "(c) Jakub Melka 2018-2020"
DEFINES += PDFFORQTLIB_LIBRARY DEFINES += Pdf4QtLIB_LIBRARY
# The following define makes your compiler emit warnings if you use # The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings # any feature of Qt which has been marked as deprecated (the exact warnings
@ -176,48 +176,48 @@ FORMS += \
RESOURCES += cmaps.qrc RESOURCES += cmaps.qrc
PDFFORQT_DEPENDENCIES_PATH = K:\Programming\PDF\PDF_For_Qt\PDfForQt-Dependencies Pdf4Qt_DEPENDENCIES_PATH = K:\Programming\PDF\PDF_For_Qt\PdfforQt-Dependencies
PDFFORQT_OPENSSL_PATH = K:\Programming\Qt\Tools\ Pdf4Qt_OPENSSL_PATH = K:\Programming\Qt\Tools\
CONFIG(debug, debug|release) { CONFIG(debug, debug|release) {
SUFFIX = d SUFFIX = d
} }
# Link to freetype library # Link to freetype library
LIBS += -L$$PDFFORQT_DEPENDENCIES_PATH/FreeType/ -lfreetype$${SUFFIX} LIBS += -L$$Pdf4Qt_DEPENDENCIES_PATH/FreeType/ -lfreetype$${SUFFIX}
INCLUDEPATH += $$PDFFORQT_DEPENDENCIES_PATH/FreeType/include INCLUDEPATH += $$Pdf4Qt_DEPENDENCIES_PATH/FreeType/include
DEPENDPATH += $$PDFFORQT_DEPENDENCIES_PATH/FreeType/include DEPENDPATH += $$Pdf4Qt_DEPENDENCIES_PATH/FreeType/include
# Link to OpenJPEG library # Link to OpenJPEG library
LIBS += -L$$PDFFORQT_DEPENDENCIES_PATH/OpenJPEG/lib/ -lopenjp2$${SUFFIX} LIBS += -L$$Pdf4Qt_DEPENDENCIES_PATH/OpenJPEG/lib/ -lopenjp2$${SUFFIX}
INCLUDEPATH += $$PDFFORQT_DEPENDENCIES_PATH/OpenJPEG/include/openjpeg-2.3 INCLUDEPATH += $$Pdf4Qt_DEPENDENCIES_PATH/OpenJPEG/include/openjpeg-2.3
DEPENDPATH += $$PDFFORQT_DEPENDENCIES_PATH/OpenJPEG/include/openjpeg-2.3 DEPENDPATH += $$Pdf4Qt_DEPENDENCIES_PATH/OpenJPEG/include/openjpeg-2.3
DEFINES += OPJ_STATIC DEFINES += OPJ_STATIC
# Link to Independent JPEG Groups libjpeg # Link to Independent JPEG Groups libjpeg
LIBS += -L$$PDFFORQT_DEPENDENCIES_PATH/libjpeg/bin/ -ljpeg$${SUFFIX} LIBS += -L$$Pdf4Qt_DEPENDENCIES_PATH/libjpeg/bin/ -ljpeg$${SUFFIX}
INCLUDEPATH += $$PDFFORQT_DEPENDENCIES_PATH/libjpeg/include INCLUDEPATH += $$Pdf4Qt_DEPENDENCIES_PATH/libjpeg/include
DEPENDPATH += $$PDFFORQT_DEPENDENCIES_PATH/libjpeg/include DEPENDPATH += $$Pdf4Qt_DEPENDENCIES_PATH/libjpeg/include
# Link OpenSSL # Link OpenSSL
LIBS += -L$$PDFFORQT_OPENSSL_PATH/OpenSSL/Win_x64/bin -L$$PDFFORQT_OPENSSL_PATH/OpenSSL/Win_x64/lib -llibcrypto -llibssl LIBS += -L$$Pdf4Qt_OPENSSL_PATH/OpenSSL/Win_x64/bin -L$$Pdf4Qt_OPENSSL_PATH/OpenSSL/Win_x64/lib -llibcrypto -llibssl
INCLUDEPATH += $$PDFFORQT_OPENSSL_PATH/OpenSSL/Win_x64/include INCLUDEPATH += $$Pdf4Qt_OPENSSL_PATH/OpenSSL/Win_x64/include
DEPENDPATH += $$PDFFORQT_OPENSSL_PATH/OpenSSL/Win_x64/include DEPENDPATH += $$Pdf4Qt_OPENSSL_PATH/OpenSSL/Win_x64/include
# Add OpenSSL to installations # Add OpenSSL to installations
openssl_lib.files = $$PDFFORQT_OPENSSL_PATH/OpenSSL/Win_x64/bin/libcrypto-1_1-x64.dll $$PDFFORQT_OPENSSL_PATH/OpenSSL/Win_x64/bin/libssl-1_1-x64.dll openssl_lib.files = $$Pdf4Qt_OPENSSL_PATH/OpenSSL/Win_x64/bin/libcrypto-1_1-x64.dll $$Pdf4Qt_OPENSSL_PATH/OpenSSL/Win_x64/bin/libssl-1_1-x64.dll
openssl_lib.path = $$DESTDIR/install openssl_lib.path = $$DESTDIR/install
INSTALLS += openssl_lib INSTALLS += openssl_lib
# Link zlib # Link zlib
LIBS += -L$$PDFFORQT_DEPENDENCIES_PATH/zlib/bin/ -lzlibstatic$${SUFFIX} LIBS += -L$$Pdf4Qt_DEPENDENCIES_PATH/zlib/bin/ -lzlibstatic$${SUFFIX}
INCLUDEPATH += $$PDFFORQT_DEPENDENCIES_PATH/zlib/include INCLUDEPATH += $$Pdf4Qt_DEPENDENCIES_PATH/zlib/include
DEPENDPATH += $$PDFFORQT_DEPENDENCIES_PATH/zlib/include DEPENDPATH += $$Pdf4Qt_DEPENDENCIES_PATH/zlib/include
# Link lcms2 # Link lcms2
LIBS += -L$$PDFFORQT_DEPENDENCIES_PATH/lcms2/bin$${SUFFIX}/ -llcms2_static LIBS += -L$$Pdf4Qt_DEPENDENCIES_PATH/lcms2/bin$${SUFFIX}/ -llcms2_static
INCLUDEPATH += $$PDFFORQT_DEPENDENCIES_PATH/lcms2/include INCLUDEPATH += $$Pdf4Qt_DEPENDENCIES_PATH/lcms2/include
DEPENDPATH += $$PDFFORQT_DEPENDENCIES_PATH/lcms2/include DEPENDPATH += $$Pdf4Qt_DEPENDENCIES_PATH/lcms2/include
# ensure debug info even for RELEASE build # ensure debug info even for RELEASE build
CONFIG += force_debug_info CONFIG += force_debug_info
@ -225,10 +225,10 @@ CONFIG += force_debug_info
QMAKE_CXXFLAGS += /std:c++latest /utf-8 QMAKE_CXXFLAGS += /std:c++latest /utf-8
QMAKE_RESOURCE_FLAGS += -threshold 0 -compress 9 QMAKE_RESOURCE_FLAGS += -threshold 0 -compress 9
pdfforqt_library.files = $$DESTDIR/PdfForQtLib.dll PdfforQt_library.files = $$DESTDIR/Pdf4QtLib.dll
pdfforqt_library.path = $$DESTDIR/install PdfforQt_library.path = $$DESTDIR/install
INSTALLS += pdfforqt_library INSTALLS += PdfforQt_library
qt_libraries.files = $$[QT_INSTALL_BINS]/Qt?Widgets$${SUFFIX}.dll \ qt_libraries.files = $$[QT_INSTALL_BINS]/Qt?Widgets$${SUFFIX}.dll \
$$[QT_INSTALL_BINS]/Qt?Gui$${SUFFIX}.dll \ $$[QT_INSTALL_BINS]/Qt?Gui$${SUFFIX}.dll \

Some files were not shown because too many files have changed in this diff Show More