diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-09-30 08:35:32 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-09-30 12:48:57 +0200 |
commit | 466edbf12c7c573fec7326ff4897ef44bda146a3 (patch) | |
tree | 07d18ada4be04fcfb60f3341fff0a44200c08ee9 /tools/qmldom | |
parent | ba809eae144f77c81e48ff62673c31a1c6142036 (diff) |
Remove obsolete bootstrap code
Change-Id: Ifcbf81b5ee04753af916dc1ef1177617785c961d
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tools/qmldom')
-rw-r--r-- | tools/qmldom/qmldomtool.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/qmldom/qmldomtool.cpp b/tools/qmldom/qmldomtool.cpp index c883790812..97611d3486 100644 --- a/tools/qmldom/qmldomtool.cpp +++ b/tools/qmldom/qmldomtool.cpp @@ -47,9 +47,7 @@ # include <QtCore/qcommandlineparser.h> #endif -#ifndef QT_BOOTSTRAPPED -# include <QtCore/qlibraryinfo.h> -#endif +#include <QtCore/qlibraryinfo.h> using namespace QQmlJS::Dom; namespace tt { @@ -200,11 +198,7 @@ int main(int argc, char *argv[]) // use host qml import path as a sane default if nothing else has been provided QStringList qmltypeDirs = parser.isSet(qmltypesDirsOption) ? parser.values(qmltypesDirsOption) -# ifndef QT_BOOTSTRAPPED : QStringList { QLibraryInfo::path(QLibraryInfo::Qml2ImportsPath) }; -# else - : QStringList {}; -# endif if (!parser.isSet(qmltypesFilesOption)) qmltypeDirs << "."; |