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