summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qdoc/qdoc/docbookgenerator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qdoc/qdoc/docbookgenerator.cpp b/src/qdoc/qdoc/docbookgenerator.cpp
index cd95f9f0b..2b96ed2a6 100644
--- a/src/qdoc/qdoc/docbookgenerator.cpp
+++ b/src/qdoc/qdoc/docbookgenerator.cpp
@@ -156,7 +156,8 @@ void DocBookGenerator::initializeGenerator()
m_naturalLanguage = QLatin1String("en");
m_buildVersion = m_config->get(CONFIG_BUILDVERSION).asString();
- m_useDocBook52 = m_config->get(CONFIG_DOCBOOKEXTENSIONS).asBool();
+ m_useDocBook52 = m_config->get(CONFIG_DOCBOOKEXTENSIONS).asBool() ||
+ m_config->get(format() + Config::dot + "usedocbookextensions").asBool();
}
QString DocBookGenerator::format()