Ticket #23284: patch-QtHelp_add_QtCLucene.diff

File patch-QtHelp_add_QtCLucene.diff, 2.2 KB (added by michaelld (Michael Dickens), 14 years ago)

patch to add QtCLucene library when already linking with QtHelp.

  • tools/assistant/tools/assistant/assistant.pro

    old new  
    108108        DEFINES += USE_STATIC_SQLITE_PLUGIN
    109109    }
    110110}
     111
     112qclucene = QtCLucene$${QT_LIBINFIX}
     113if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
     114    mac:qclucene = $${qclucene}_debug
     115    win32:qclucene = $${qclucene}d
     116}
     117linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene
     118LIBS_PRIVATE += -l$$qclucene
  • tools/assistant/tools/qcollectiongenerator/qcollectiongenerator.pro

    old new  
    1515    ../shared/collectionconfiguration.cpp
    1616HEADERS += ../shared/helpgenerator.h \
    1717    ../shared/collectionconfiguration.h
     18
     19qclucene = QtCLucene$${QT_LIBINFIX}
     20if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
     21    mac:qclucene = $${qclucene}_debug
     22    win32:qclucene = $${qclucene}d
     23}
     24linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene
     25LIBS_PRIVATE += -l$$qclucene
  • tools/assistant/tools/qhelpconverter/qhelpconverter.pro

    old new  
    4545           outputpage.ui
    4646
    4747RESOURCES += qhelpconverter.qrc
     48
     49qclucene = QtCLucene$${QT_LIBINFIX}
     50if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
     51    mac:qclucene = $${qclucene}_debug
     52    win32:qclucene = $${qclucene}d
     53}
     54linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene
     55LIBS_PRIVATE += -l$$qclucene
  • tools/assistant/tools/qhelpgenerator/qhelpgenerator.pro

    old new  
    1212           main.cpp
    1313
    1414HEADERS += ../shared/helpgenerator.h
     15
     16qclucene = QtCLucene$${QT_LIBINFIX}
     17if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
     18    mac:qclucene = $${qclucene}_debug
     19    win32:qclucene = $${qclucene}d
     20}
     21linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene
     22LIBS_PRIVATE += -l$$qclucene