From 295d4d6955ff96888273fb23906ca75a10795ca2 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Thu, 28 Jan 2021 16:30:01 +0100 Subject: 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 --- qmake/option.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'qmake') 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 } } -- cgit v1.2.3