summaryrefslogtreecommitdiffstats
path: root/src/assistant/help/CMakeLists.txt
blob: 45c4c192e0be494a4c0aaad289010d1b8001589c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

#####################################################################
## Help Module:
#####################################################################

qt_internal_add_module(Help
    SOURCES
    # QtHelpCore
        qcompressedhelpinfo.cpp qcompressedhelpinfo.h
        qhelp_global.cpp qhelp_global.h
        qhelpcollectionhandler.cpp qhelpcollectionhandler_p.h
        qhelpcontentitem.cpp qhelpcontentitem.h
        qhelpdbreader.cpp qhelpdbreader_p.h
        qhelpenginecore.cpp qhelpenginecore.h
        qhelpfilterdata.cpp qhelpfilterdata.h
        qhelpfilterengine.cpp qhelpfilterengine.h
        qhelplink.cpp qhelplink.h
        qhelpsearchenginecore.cpp qhelpsearchenginecore.h
        qhelpsearchindexreader.cpp qhelpsearchindexreader_p.h
        qhelpsearchindexwriter.cpp qhelpsearchindexwriter_p.h
        qhelpsearchresult.cpp qhelpsearchresult.h
    # QtHelp
        qfilternamedialog.cpp qfilternamedialog.ui qfilternamedialog_p.h
        qhelpcontentwidget.cpp qhelpcontentwidget.h
        qhelpengine.cpp qhelpengine.h
        qhelpfiltersettingswidget.cpp qhelpfiltersettingswidget.h qhelpfiltersettingswidget.ui
        qhelpindexwidget.cpp qhelpindexwidget.h
        qhelpsearchengine.cpp qhelpsearchengine.h
        qhelpsearchquerywidget.cpp qhelpsearchquerywidget.h
        qhelpsearchresultwidget.cpp qhelpsearchresultwidget.h
        qoptionswidget.cpp qoptionswidget_p.h
    DEFINES
        # -QT_ASCII_CAST_WARNINGS # special case remove
        QHELP_LIB
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::Gui
        Qt::Sql
        Qt::Widgets
    ENABLE_AUTOGEN_TOOLS
        uic
    NO_GENERATE_CPP_EXPORTS
)

# Resources:
set(helpsystem_resource_files
    "images/1leftarrow.png"
    "images/1rightarrow.png"
    "images/3leftarrow.png"
    "images/3rightarrow.png"
    "images/mac/minus.png"
    "images/mac/plus.png"
    "images/win/minus.png"
    "images/win/plus.png"
)

qt_internal_add_resource(Help "helpsystem"
    PREFIX
        "/qt-project.org/assistant"
    FILES
        ${helpsystem_resource_files}
)

qt_internal_add_docs(Help
    doc/qthelp.qdocconf
)