summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2021-01-28 16:30:01 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2021-02-01 14:34:41 +0100
commit295d4d6955ff96888273fb23906ca75a10795ca2 (patch)
treeb19ba7c5cd143b85419b4b9d7d6ff5d98ba4c053 /qmake
parent658b93386eea34398de3ddacab436601e1ab5bbb (diff)
Remove usage of the definitions that are never defined
The QT_BUILD_QMAKE_BOOTSTRAP and QT_BUILD_QMAKE_LIBRARY definitions are never defined in the project since migrating to CMake build. Change-Id: I7108c92387005a2fde6ebdb2d74843e3efc6413e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'qmake')
-rw-r--r--qmake/option.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qmake/option.cpp b/qmake/option.cpp
index 2a3fea8a89..0d5746bb09 100644
--- a/qmake/option.cpp
+++ b/qmake/option.cpp
@@ -455,12 +455,10 @@ Option::init(int argc, char **argv)
QString proj = detectProjectFile(qmake_getpwd());
if(!proj.isNull())
Option::mkfile::project_files.append(proj);
-#ifndef QT_BUILD_QMAKE_LIBRARY
if(Option::mkfile::project_files.isEmpty()) {
usage(argv[0]);
return Option::QMAKE_CMDLINE_ERROR;
}
-#endif
}
}