diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2009-12-30 13:28:15 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2009-12-30 13:28:15 (GMT) |
commit | 05b70e8e2c6e0cda9b74fc99fd782d1977d298c9 (patch) | |
tree | e73e0b41d708a8ea6260e541347b464cb2e5aeaa /src/config.l | |
parent | e32567534d95ff3960fa4dcad7733c18e1b39bc5 (diff) | |
download | Doxygen-05b70e8e2c6e0cda9b74fc99fd782d1977d298c9.zip Doxygen-05b70e8e2c6e0cda9b74fc99fd782d1977d298c9.tar.gz Doxygen-05b70e8e2c6e0cda9b74fc99fd782d1977d298c9.tar.bz2 |
Release-1.6.2
Diffstat (limited to 'src/config.l')
-rw-r--r-- | src/config.l | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/config.l b/src/config.l index 62e3d7c..c1a4726 100644 --- a/src/config.l +++ b/src/config.l @@ -1361,26 +1361,17 @@ void Config::check() // check QHP creation requirements if (Config_getBool("GENERATE_QHP")) { - bool qhp=TRUE; - if (!Config_getBool("GENERATE_HTML")) - { - config_err("Error: GENERATE_QHP=YES requires GENERATE_HTML=YES. Disabling QHP output.\n"); - qhp=FALSE; - } - if (Config_getString("QHP_NAMESPACE").isEmpty()) { - config_err("Error: GENERATE_QHP=YES requires QHP_NAMESPACE to be set. Disabling QHP output.\n"); - qhp=FALSE; + config_err("Error: GENERATE_QHP=YES requires QHP_NAMESPACE to be set. Using 'org.doxygen.doc' as default!.\n"); + Config_getString("QHP_NAMESPACE")="org.doxygen.doc"; } if (Config_getString("QHP_VIRTUAL_FOLDER").isEmpty()) { - config_err("Error: GENERATE_QHP=YES requires QHP_VIRTUAL_FOLDER to be set. Disabling QHP output.\n"); - qhp=FALSE; + config_err("Error: GENERATE_QHP=YES requires QHP_VIRTUAL_FOLDER to be set. Using 'doc' as default!\n"); + Config_getString("QHP_VIRTUAL_FOLDER")="doc"; } - - Config_getBool("GENERATE_QHP")=qhp; } if (Config_getBool("OPTIMIZE_OUTPUT_JAVA") && Config_getBool("INLINE_INFO")) |