forked from qt-creator/qt-creator
Enable webkit for help plugin (Qt5 Build).
Now the formatting in the help viewer looks as usual again. Webkit was disabled to make creator compile with Qt5 in the Nov 2011 days. Change-Id: Ic926cc94bda4a4953360f2daee414ba17aa4037b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Eike Ziller
parent
6c15f14bab
commit
366a9316ff
@@ -4,9 +4,11 @@ TARGET = Help
|
|||||||
QT += network
|
QT += network
|
||||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
QT += printsupport help
|
QT += printsupport help
|
||||||
DEFINES += QT_NO_WEBKIT
|
!isEmpty(QT.webkit.name): QT += webkit
|
||||||
|
else: DEFINES += QT_NO_WEBKIT
|
||||||
} else {
|
} else {
|
||||||
CONFIG += help
|
CONFIG += help
|
||||||
|
contains(QT_CONFIG, webkit): QT += webkit
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD
|
INCLUDEPATH += $$PWD
|
||||||
@@ -68,7 +70,3 @@ FORMS += docsettingspage.ui \
|
|||||||
|
|
||||||
RESOURCES += help.qrc
|
RESOURCES += help.qrc
|
||||||
include(../../shared/help/help.pri)
|
include(../../shared/help/help.pri)
|
||||||
|
|
||||||
contains(QT_CONFIG, webkit) {
|
|
||||||
QT += webkit
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user