Skip to content

Commit 9fafc70

Browse files
committed
QHP output requires that HTML output is generated
Analogous to HTMLHELP also QHP should warn whenGENERATE_HTML is not set.
1 parent 44d7397 commit 9fafc70

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/configimpl.l

+4
Original file line numberDiff line numberDiff line change
@@ -2095,6 +2095,10 @@ void Config::checkAndCorrect(bool quiet, const bool check)
20952095
// check QHP creation requirements
20962096
if (Config_getBool(GENERATE_QHP))
20972097
{
2098+
if (!Config_getBool(GENERATE_HTML))
2099+
{
2100+
warn_uncond("GENERATE_QHP=YES requires GENERATE_HTML=YES.\n");
2101+
}
20982102
if (Config_getString(QHP_NAMESPACE).isEmpty())
20992103
{
21002104
err("GENERATE_QHP=YES requires QHP_NAMESPACE to be set. Using 'org.doxygen.doc' as default!.\n");

0 commit comments

Comments
 (0)