Commit 13eb5766 authored by Erwan Demairy's avatar Erwan Demairy
Browse files

Build doc with Qt 5.12.5

parent fb5bd3fe
......@@ -31,7 +31,7 @@ set(OUTPUT_DOC_DIR ${CMAKE_CURRENT_BINARY_DIR}/doc)
add_custom_target("doc")
add_custom_command(TARGET "doc" POST_BUILD
COMMAND QT_VER=${Qt5_VERSION} ${QT5_QDOC_EXECUTABLE} --debug ${CMAKE_CURRENT_BINARY_DIR}/dtk.qdocconf
COMMAND QT_VER=${Qt5_VERSION} ${QT5_QDOC_EXECUTABLE} -I ${CMAKE_SOURCE_DIR}/../dtk-widgets/src/dtkWidgets/ -D DTKWIDGETS_EXPORT="" -D DTKLOG_EXPORT="" --debug ${CMAKE_CURRENT_BINARY_DIR}/dtk.qdocconf
COMMAND ${QT5_QHGN_EXECUTABLE} ${OUTPUT_DOC_DIR}/dtk.qhp -o ${OUTPUT_DOC_DIR}/dtk.qch
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "-- Generating documentation")
......
......@@ -43,14 +43,12 @@ qhp.dtkDoc.subprojects.classes.sortPages = true
headers.fileextensions = "*.h"
sources.fileextensions = "*.cpp *.tpp *.mm *.qml *.qdoc"
#headerdirs += @DTK_LOG_DIRECTORY@/src/dtkLog
#headerdirs += @DTK_WIDGETS_DIRECTORY@/src/dtkWidgets
headerdirs += @DTK_LOG_DIRECTORY@/src/dtkLog
headerdirs += @DTK_WIDGETS_DIRECTORY@/src/dtkWidgets
sourcedirs += @DTK_LOG_DIRECTORY@/src/dtkLog
sourcedirs += @DTK_WIDGETS_DIRECTORY@/src/dtkWidgets
includepaths = . @DTK_LOG_DIRECTORY@/src/dtkLog @DTK_WIDGETS_DIRECTORY@/src/dtkWidgets
Cpp.ignoretokens += DTKLOG_EXPORT
Cpp.ignoretokens += DTKWIDGETS_EXPORT
......@@ -58,8 +56,6 @@ outputdir = @CMAKE_CURRENT_BINARY_DIR@/doc
#depends += dtkWidgets dtkLog qtwidgets qtcore
#depends += dtkWidgets dtkLog qtwidgets qtcore
indexes = \
@QT5_DOCUMENTATION_D@/qtcore/qtcore.index \
@QT5_DOCUMENTATION_D@/qtgui/qtgui.index \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment