| 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 |
|
|---|
| 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 | 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 |
|
|---|
| 68 | # access to clucene
|
|---|
| 69 | HEADERS += qhelpsearchindexwriter_clucene_p.h \
|
|---|
| 70 | qhelpsearchindexreader_clucene_p.h
|
|---|