0
|
1 |
QT += sql \
|
|
2 |
xml \
|
|
3 |
network
|
|
4 |
TEMPLATE = lib
|
|
5 |
TARGET = QtHelp
|
|
6 |
DEFINES += QHELP_LIB \
|
|
7 |
QT_CLUCENE_SUPPORT
|
|
8 |
CONFIG += qt \
|
|
9 |
warn_on
|
|
10 |
include(../../../src/qbase.pri)
|
|
11 |
QMAKE_TARGET_PRODUCT = Help
|
|
12 |
QMAKE_TARGET_DESCRIPTION = Help \
|
|
13 |
application \
|
|
14 |
framework.
|
|
15 |
DEFINES -= QT_ASCII_CAST_WARNINGS
|
|
16 |
qclucene = QtCLucene$${QT_LIBINFIX}
|
|
17 |
if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
|
|
18 |
mac:qclucene = $${qclucene}_debug
|
|
19 |
win32:qclucene = $${qclucene}d
|
|
20 |
}
|
|
21 |
linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene
|
|
22 |
unix:QMAKE_PKGCONFIG_REQUIRES += QtNetwork \
|
|
23 |
QtSql \
|
|
24 |
QtXml
|
|
25 |
LIBS_PRIVATE += -l$$qclucene
|
|
26 |
|
|
27 |
RESOURCES += helpsystem.qrc
|
|
28 |
SOURCES += qhelpenginecore.cpp \
|
|
29 |
qhelpengine.cpp \
|
|
30 |
qhelpdbreader.cpp \
|
|
31 |
qhelpcontentwidget.cpp \
|
|
32 |
qhelpindexwidget.cpp \
|
|
33 |
qhelpgenerator.cpp \
|
|
34 |
qhelpdatainterface.cpp \
|
|
35 |
qhelpprojectdata.cpp \
|
|
36 |
qhelpcollectionhandler.cpp \
|
|
37 |
qhelpsearchengine.cpp \
|
|
38 |
qhelpsearchquerywidget.cpp \
|
|
39 |
qhelpsearchresultwidget.cpp \
|
|
40 |
qhelpsearchindex_default.cpp \
|
|
41 |
qhelpsearchindexwriter_default.cpp \
|
|
42 |
qhelpsearchindexreader_default.cpp \
|
|
43 |
qhelpsearchindexreader.cpp
|
|
44 |
|
|
45 |
# access to clucene
|
|
46 |
SOURCES += qhelpsearchindexwriter_clucene.cpp \
|
|
47 |
qhelpsearchindexreader_clucene.cpp
|
|
48 |
HEADERS += qhelpenginecore.h \
|
|
49 |
qhelpengine.h \
|
|
50 |
qhelpengine_p.h \
|
|
51 |
qhelp_global.h \
|
|
52 |
qhelpdbreader_p.h \
|
|
53 |
qhelpcontentwidget.h \
|
|
54 |
qhelpindexwidget.h \
|
|
55 |
qhelpgenerator_p.h \
|
|
56 |
qhelpdatainterface_p.h \
|
|
57 |
qhelpprojectdata_p.h \
|
|
58 |
qhelpcollectionhandler_p.h \
|
|
59 |
qhelpsearchengine.h \
|
|
60 |
qhelpsearchquerywidget.h \
|
|
61 |
qhelpsearchresultwidget.h \
|
|
62 |
qhelpsearchindex_default_p.h \
|
|
63 |
qhelpsearchindexwriter_default_p.h \
|
|
64 |
qhelpsearchindexreader_default_p.h \
|
|
65 |
qhelpsearchindexreader_p.h
|
|
66 |
|
|
67 |
# access to clucene
|
|
68 |
HEADERS += qhelpsearchindexwriter_clucene_p.h \
|
|
69 |
qhelpsearchindexreader_clucene_p.h
|