[561] | 1 | QT += sql \
|
---|
| 2 | xml \
|
---|
| 3 | network
|
---|
[2] | 4 | TEMPLATE = lib
|
---|
| 5 | TARGET = QtHelp
|
---|
[561] | 6 | DEFINES += QHELP_LIB \
|
---|
| 7 | QT_CLUCENE_SUPPORT
|
---|
| 8 | CONFIG += qt \
|
---|
| 9 | warn_on
|
---|
[2] | 10 | include(../../../src/qbase.pri)
|
---|
| 11 | QMAKE_TARGET_PRODUCT = Help
|
---|
[561] | 12 | QMAKE_TARGET_DESCRIPTION = Help \
|
---|
| 13 | application \
|
---|
| 14 | framework.
|
---|
[2] | 15 | DEFINES -= QT_ASCII_CAST_WARNINGS
|
---|
| 16 | qclucene = QtCLucene$${QT_LIBINFIX}
|
---|
[561] | 17 | if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
|
---|
[2] | 18 | mac:qclucene = $${qclucene}_debug
|
---|
[552] | 19 | win32|os2:qclucene = $${qclucene}d
|
---|
[2] | 20 | }
|
---|
[561] | 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
|
---|
[2] | 26 | RESOURCES += helpsystem.qrc
|
---|
| 27 | SOURCES += qhelpenginecore.cpp \
|
---|
[561] | 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 \
|
---|
[846] | 43 | qclucenefieldnames.cpp \
|
---|
[561] | 44 | qhelp_global.cpp
|
---|
[2] | 45 |
|
---|
| 46 | # access to clucene
|
---|
| 47 | SOURCES += qhelpsearchindexwriter_clucene.cpp \
|
---|
[561] | 48 | qhelpsearchindexreader_clucene.cpp
|
---|
[2] | 49 | HEADERS += qhelpenginecore.h \
|
---|
[561] | 50 | qhelpengine.h \
|
---|
| 51 | qhelpengine_p.h \
|
---|
| 52 | qhelp_global.h \
|
---|
| 53 | qhelpdbreader_p.h \
|
---|
| 54 | qhelpcontentwidget.h \
|
---|
| |
---|