summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tools/qdoc/main.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/tools/qdoc/main.cpp b/src/tools/qdoc/main.cpp
index 6c8b947c46..bf835db807 100644
--- a/src/tools/qdoc/main.cpp
+++ b/src/tools/qdoc/main.cpp
@@ -40,7 +40,6 @@
****************************************************************************/
#include <qglobal.h>
-#include <qlibraryinfo.h>
#include <stdlib.h>
#include "codemarker.h"
#include "codeparser.h"
@@ -262,17 +261,6 @@ static void processQdocconfFile(const QString &fileName)
config.setStringList(CONFIG_OBSOLETELINKS, QStringList(obsoleteLinks ? "true" : "false"));
/*
- If QT_INSTALL_DOCS is not set, set it here so it can be used from
- the qdocconf files.
- */
- QString qt_install_docs = qgetenv("QT_INSTALL_DOCS");
- if (qt_install_docs.isEmpty()) {
- documentationPath = QLibraryInfo::rawLocation(QLibraryInfo::DocumentationPath,
- QLibraryInfo::EffectivePaths);
- qputenv("QT_INSTALL_DOCS", documentationPath.toLatin1());
- }
-
- /*
With the default configuration values in place, load
the qdoc configuration file. Note that the configuration
file may include other configuration files.