summaryrefslogtreecommitdiffstats
path: root/tools/assistant/lib/lib.pro
blob: bd9ed5370ed5f519f9830268adb8943ae2a9449b (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
QT += sql xml network
TEMPLATE = lib
TARGET = QtHelp
DEFINES += QHELP_LIB QT_CLUCENE_SUPPORT
CONFIG += qt warn_on

include(../../../src/qbase.pri)

QMAKE_TARGET_PRODUCT = Help
QMAKE_TARGET_DESCRIPTION = Help application framework.
DEFINES -= QT_ASCII_CAST_WARNINGS

qclucene = QtCLucene$${QT_LIBINFIX}
if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
    mac:qclucene = $${qclucene}_debug
    win32:qclucene = $${qclucene}d
}
linux-lsb-g++:LIBS += --lsb-shared-libs=$$qclucene
unix:QMAKE_PKGCONFIG_REQUIRES += QtNetwork QtSql QtXml
LIBS += -l$$qclucene
unix:QMAKE_PKGCONFIG_REQUIRES += QtNetwork QtSql QtXml

RESOURCES += helpsystem.qrc

SOURCES += qhelpenginecore.cpp \
           qhelpengine.cpp \
           qhelpdbreader.cpp \
           qhelpcontentwidget.cpp \
           qhelpindexwidget.cpp \
           qhelpgenerator.cpp \
           qhelpdatainterface.cpp \
           qhelpprojectdata.cpp \
           qhelpcollectionhandler.cpp \
           qhelpsearchengine.cpp \
           qhelpsearchquerywidget.cpp \
           qhelpsearchresultwidget.cpp \
           qhelpsearchindex_default.cpp \
           qhelpsearchindexwriter_default.cpp \
           qhelpsearchindexreader_default.cpp

# access to clucene
SOURCES += qhelpsearchindexwriter_clucene.cpp \
           qhelpsearchindexreader_clucene.cpp

HEADERS += qhelpenginecore.h \
           qhelpengine.h \
           qhelpengine_p.h \
           qhelp_global.h \
           qhelpdbreader_p.h \
           qhelpcontentwidget.h \
           qhelpindexwidget.h \
           qhelpgenerator_p.h \
           qhelpdatainterface_p.h \
           qhelpprojectdata_p.h \
           qhelpcollectionhandler_p.h \
           qhelpsearchengine.h \
           qhelpsearchquerywidget.h \
           qhelpsearchresultwidget.h \
           qhelpsearchindex_default_p.h \
           qhelpsearchindexwriter_default_p.h \
           qhelpsearchindexreader_default_p.h

# access to clucene
HEADERS += qhelpsearchindexwriter_clucene_p.h \
           qhelpsearchindexreader_clucene_p.h