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|os2: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 | RESOURCES += helpsystem.qrc
|
---|
27 | SOURCES += qhelpenginecore.cpp \
|
---|
28 | qhelpengine.cpp \
|
---|
29 | qhelpdbreader.cpp \
|
---|
30 | qhelpcontentwidget.cpp \
|
---|
31 | qhelpindexwidget.cpp \
|
---|
32 | qhelpgenerator.cpp \
|
---|
33 | qhelpdatainterface.cpp \
|
---|
34 | qhelpprojectdata.cpp \
|
---|
35 | qhelpcollectionhandler.cpp \
|
---|
36 | qhelpsearchengine.cpp \
|
---|
37 | qhelpsearchquerywidget.cpp \
|
---|
38 | qhelpsearchresultwidget.cpp \
|
---|
39 | qhelpsearchindex_default.cpp \
|
---|
40 | qhelpsearchindexwriter_default.cpp \
|
---|
41 | qhelpsearchindexreader_default.cpp \
|
---|
42 | qhelpsearchindexreader.cpp \
|
---|
43 | qclucenefieldnames.cpp \
|
---|
44 | qhelp_global.cpp
|
---|
45 |
|
---|
46 | # access to clucene
|
---|
47 | SOURCES += qhelpsearchindexwriter_clucene.cpp \
|
---|
48 | qhelpsearchindexreader_clucene.cpp
|
---|
49 | HEADERS += qhelpenginecore.h \
|
---|
50 | qhelpengine.h \
|
---|
51 | qhelpengine_p.h \
|
---|
52 | qhelp_global.h \
|
---|
53 | qhelpdbreader_p.h \
|
---|
54 | qhelpcontentwidget.h \
|
---|
55 | qhelpindexwidget.h \
|
---|
56 | qhelpgenerator_p.h \
|
---|
57 | qhelpdatainterface_p.h \
|
---|
58 | qhelpprojectdata_p.h \
|
---|
59 | qhelpcollectionhandler_p.h \
|
---|
60 | qhelpsearchengine.h \
|
---|
61 | qhelpsearchquerywidget.h \
|
---|
62 | qhelpsearchresultwidget.h \
|
---|
63 | qhelpsearchindex_default_p.h \
|
---|
64 | qhelpsearchindexwriter_default_p.h \
|
---|
65 | qhelpsearchindexreader_default_p.h \
|
---|
66 | qhelpsearchindexreader_p.h \
|
---|
67 | qclucenefieldnames_p.h
|
---|
68 |
|
---|
69 | # access to clucene
|
---|
70 | HEADERS += qhelpsearchindexwriter_clucene_p.h \
|
---|
71 | qhelpsearchindexreader_clucene_p.h
|
---|