aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmllint
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2021-09-30 08:35:32 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2021-09-30 12:48:57 +0200
commit466edbf12c7c573fec7326ff4897ef44bda146a3 (patch)
tree07d18ada4be04fcfb60f3341fff0a44200c08ee9 /tools/qmllint
parentba809eae144f77c81e48ff62673c31a1c6142036 (diff)
Remove obsolete bootstrap code
Change-Id: Ifcbf81b5ee04753af916dc1ef1177617785c961d Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tools/qmllint')
-rw-r--r--tools/qmllint/main.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/qmllint/main.cpp b/tools/qmllint/main.cpp
index 4026f40334..aa1158fff1 100644
--- a/tools/qmllint/main.cpp
+++ b/tools/qmllint/main.cpp
@@ -54,9 +54,7 @@
#include <QtCore/qcommandlineparser.h>
#endif
-#ifndef QT_BOOTSTRAPPED
#include <QtCore/qlibraryinfo.h>
-#endif
#include <cstdio>
@@ -349,11 +347,7 @@ All warnings can be set to three levels:
// use host qml import path as a sane default if not explicitly disabled
QStringList qmlImportPaths = parser.isSet(qmlImportNoDefault)
? QStringList {}
-# ifndef QT_BOOTSTRAPPED
: QStringList { QLibraryInfo::path(QLibraryInfo::QmlImportsPath), QDir::currentPath() };
-# else
- : QStringList { QDir::currentPath() };
-# endif
if (parser.isSet(qmlImportPathsOption))
qmlImportPaths << parser.values(qmlImportPathsOption);