include .config
CONFIG += qt
# CONFIG += release
CONFIG += debug
QT += Core Gui Network
ifeq ($(PLATFORM_OS),macOS)
# Mac specific solution to display PDF view
FRAMEWORKS += WebKit Foundation CoreFoundation CFNetwork PDFKit IOKit DiskArbitration
QT += Widgets
else
# Fallback to solution using Qt to display a WebView
ifeq ($(shell [ $(QT_MAJOR_VERSION) -gt 4 ]; echo $$?),0)
ifeq ($(shell [ $(QT_MINOR_VERSION) -gt 5 ]; echo $$?),0)
$(info Qt 5.6 or greater)
QT += Widgets WebEngineWidgets
# QT += WebEngine Qml QmlModels Network Positioning
else
$(info Qt5)
QT += Widgets WebKitWidgets
endif
else
$(info Qt4)
QT += WebKit
endif
endif
TARGET = WickedDocs
DEFINES += \
GUI_APP=1
RESOURCES += \
../Resources/resources.qrc
FORMS_PATH = ../Resources/forms
FORMS += \
../Resources/forms/About.ui \
../Resources/forms/NewProjectWizard.ui \
../Resources/forms/ExtensibleObjectModelUI.ui \
../Resources/forms/SendBugReport.ui \
../Resources/forms/Help.ui \
../Resources/forms/CheckUpdates.ui \
../Resources/forms/LicenseUpgrade.ui \
../Resources/forms/Evaluation.ui \
../Resources/forms/Register.ui \
../Resources/forms/Trial.ui \
../Resources/forms/Settings.ui \
../Resources/forms/PaletteEditor.ui
INCLUDE_PATHS += \
.. \
./.gen \
../Framework \
../3rdParty/hoedown \
../3rdParty/libharu/include \
../3rdParty/TinyXML++ \
../3rdParty/qtpropertybrowser/src
HEADERS += \
../Framework/EventLog.h \
../Framework/Expected.h \
../Framework/Final.h \
../Framework/Finally.h \
../Framework/GenericTable.h \
../Framework/GenericTableUI.h \
../Framework/NonCopyable.h \
../Framework/Utilities.h \
../Framework/SystemInfomation.h \
../Framework/Array.h \
../Framework/Macros.h \
../Framework/ObjectTreeModel.h \
../Util.h \
../IniFileReader.h \
../FingerPrint.h \
../ui.h \
../MdiChild.h \
../MdiWindow.h \
../ColorPicker.h \
../ColorWheel.h \
../ToneGradient.h \
../DocConvert.h \
../Objects.h \
../ObjectVisitor.h
HEADERS += \
../Crypto/Integer/Integer.h \
../Crypto/Hash/SHA256.h \
../Crypto/Base64/Base64.h \
../LicenseCheck.h \
../DocOutput.h \
../DocProject.h \
../DocStyle.h \
../DocTemplate.h \
../DocVisitor.h \
../DocSVG.h
SOURCES += \
../Framework/Tests.cpp \
../Framework/Utilities.cpp \
../Framework/EventLog.cpp \
../FingerPrint.cpp \
../IniFileReader.cpp \
../MdiChild.cpp \
../MdiWindow.cpp \
../WebView.mm \
../ColorPicker.cpp \
../ColorWheel.cpp \
../ToneGradient.cpp \
../Version.cpp \
../Framework/SystemInfomation.cpp \
../DocConvert.cpp \
../Framework/ObjectTreeModel.cpp
SOURCES += \
../Crypto/Integer/Integer.cpp \
../Crypto/Hash/SHA256.cpp \
../Crypto/Base64/Base64.cpp \
../LicenseCheck.cpp \
../DocOutput.cpp \
../DocProject.cpp \
../DocStyle.cpp \
../DocTemplate.cpp \
../DocVisitor.cpp \
../DocSVG.cpp \
../main.cpp
SOURCES += \
../3rdParty/hoedown/autolink.c \
../3rdParty/hoedown/buffer.c \
../3rdParty/hoedown/document.c \
../3rdParty/hoedown/escape.c \
../3rdParty/hoedown/html.c \
../3rdParty/hoedown/html_blocks.c \
../3rdParty/hoedown/stack.c
SOURCES += \
../3rdParty/libharu/src/hpdf_3dmeasure.c \
../3rdParty/libharu/src/hpdf_annotation.c \
../3rdParty/libharu/src/hpdf_array.c \
../3rdParty/libharu/src/hpdf_binary.c \
../3rdParty/libharu/src/hpdf_boolean.c \
../3rdParty/libharu/src/hpdf_catalog.c \
../3rdParty/libharu/src/hpdf_destination.c \
../3rdParty/libharu/src/hpdf_dict.c \
../3rdParty/libharu/src/hpdf_doc.c \
../3rdParty/libharu/src/hpdf_doc_png.c \
../3rdParty/libharu/src/hpdf_encoder.c \
../3rdParty/libharu/src/hpdf_encoder_cns.c \
../3rdParty/libharu/src/hpdf_encoder_cnt.c \
../3rdParty/libharu/src/hpdf_encoder_jp.c \
../3rdParty/libharu/src/hpdf_encoder_kr.c \
../3rdParty/libharu/src/hpdf_encoder_utf.c \
../3rdParty/libharu/src/hpdf_encrypt.c \
../3rdParty/libharu/src/hpdf_encryptdict.c \
../3rdParty/libharu/src/hpdf_error.c \
../3rdParty/libharu/src/hpdf_exdata.c \
../3rdParty/libharu/src/hpdf_ext_gstate.c \
../3rdParty/libharu/src/hpdf_font.c \
../3rdParty/libharu/src/hpdf_fontdef.c \
../3rdParty/libharu/src/hpdf_fontdef_base14.c \
../3rdParty/libharu/src/hpdf_fontdef_cid.c \
../3rdParty/libharu/src/hpdf_fontdef_cns.c \
../3rdParty/libharu/src/hpdf_fontdef_cnt.c \
../3rdParty/libharu/src/hpdf_fontdef_jp.c \
../3rdParty/libharu/src/hpdf_fontdef_kr.c \
../3rdParty/libharu/src/hpdf_fontdef_tt.c \
../3rdParty/libharu/src/hpdf_fontdef_type1.c \
../3rdParty/libharu/src/hpdf_font_cid.c \
../3rdParty/libharu/src/hpdf_font_tt.c \
../3rdParty/libharu/src/hpdf_font_type1.c \
../3rdParty/libharu/src/hpdf_gstate.c \
../3rdParty/libharu/src/hpdf_image.c \
../3rdParty/libharu/src/hpdf_image_png.c \
../3rdParty/libharu/src/hpdf_info.c \
../3rdParty/libharu/src/hpdf_list.c \
../3rdParty/libharu/src/hpdf_mmgr.c \
../3rdParty/libharu/src/hpdf_name.c \
../3rdParty/libharu/src/hpdf_namedict.c \
../3rdParty/libharu/src/hpdf_null.c \
../3rdParty/libharu/src/hpdf_number.c \
../3rdParty/libharu/src/hpdf_objects.c \
../3rdParty/libharu/src/hpdf_outline.c \
../3rdParty/libharu/src/hpdf_pages.c \
../3rdParty/libharu/src/hpdf_page_label.c \
../3rdParty/libharu/src/hpdf_page_operator.c \
../3rdParty/libharu/src/hpdf_pdfa.c \
../3rdParty/libharu/src/hpdf_real.c \
../3rdParty/libharu/src/hpdf_shading.c \
../3rdParty/libharu/src/hpdf_streams.c \
../3rdParty/libharu/src/hpdf_string.c \
../3rdParty/libharu/src/hpdf_u3d.c \
../3rdParty/libharu/src/hpdf_utils.c \
../3rdParty/libharu/src/hpdf_xref.c
SOURCES += \
../3rdParty/TinyXML++/ticpp.cpp \
../3rdParty/TinyXML++/tinystr.cpp \
../3rdParty/TinyXML++/tinyxml.cpp \
../3rdParty/TinyXML++/tinyxmlerror.cpp \
../3rdParty/TinyXML++/tinyxmlparser.cpp
SOURCES += \
../3rdParty/qtpropertybrowser/src/qtpropertybrowser.cpp \
../3rdParty/qtpropertybrowser/src/qtpropertymanager.cpp \
../3rdParty/qtpropertybrowser/src/qteditorfactory.cpp \
../3rdParty/qtpropertybrowser/src/qtvariantproperty.cpp \
../3rdParty/qtpropertybrowser/src/qttreepropertybrowser.cpp \
../3rdParty/qtpropertybrowser/src/qtbuttonpropertybrowser.cpp \
../3rdParty/qtpropertybrowser/src/qtgroupboxpropertybrowser.cpp \
../3rdParty/qtpropertybrowser/src/qtpropertybrowserutils.cpp
RESOURCES += \
../3rdParty/qtpropertybrowser/src/qtpropertybrowser.qrc
include ../Makefile.inc
find_urls:
@strings ./WickedDocs_d | grep "[fhtps]\:\/\/[a-z]" | sed 's/.*\(htt[ps|p]\:\/\/[^'\''" ><]*\).*/\1/g' | sort | uniq