From 2715a17c9bbe35738549fcb9fec92ad965fae072 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 8 Dec 2016 15:46:06 +0100 Subject: get rid of custom 'qt' gitmodules property MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit instead, re-use the (also custom) 'project' property with the magic value '-' to flag modules which contain no project files at all. Change-Id: I33163c098852e1b79ad698115aac98217efe1157 Reviewed-by: Frederik Gladhorn Reviewed-by: Jędrzej Nowacki Reviewed-by: Joerg Bornemann Reviewed-by: Aapo Keskimolo Reviewed-by: Eike Ziller Reviewed-by: Iikka Eklund Reviewed-by: Jake Petroules --- qt.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qt.pro') diff --git a/qt.pro b/qt.pro index bf510fab..825e6b51 100644 --- a/qt.pro +++ b/qt.pro @@ -29,7 +29,8 @@ QMAKE_INTERNAL_INCLUDED_FILES += $$PWD/.gitmodules modules = $$sort_depends(modules, module., .depends .recommends .serialize) modules = $$reverse(modules) for (mod, modules) { - equals(module.$${mod}.qt, false): \ + project = $$eval(module.$${mod}.project) + equals(project, -): \ next() deps = $$eval(module.$${mod}.depends) @@ -43,7 +44,6 @@ for (mod, modules) { !isEmpty(QT_BUILD_MODULES):!contains(QT_BUILD_MODULES, $$mod): \ next() - project = $$eval(module.$${mod}.project) isEmpty(project) { !exists($$mod/$${mod}.pro): \ next() -- cgit v1.2.3