From 43135d6e33875d864cc8d34e5ba51cc02ed33840 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 18 Dec 2015 17:01:12 +0100 Subject: make qtandroidextras a regular optional dependency of qtconnectivity we want to move to a purely declarative way to declare submodules, so the conditional has to go. instead, use an optional dependency to ensure build order, while the module excludes itself via requires() if its dependency is missing. Change-Id: I615382700ff601c9ab003d131b2cc600441c514c Reviewed-by: Simon Hausmann Reviewed-by: Alex Blasche --- qt.pro | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/qt.pro b/qt.pro index be193c55..5e168fae 100644 --- a/qt.pro +++ b/qt.pro @@ -61,9 +61,6 @@ defineTest(addModule) { # users responsibility to ensure that all needed dependencies exist, or # it may not build. -ANDROID_EXTRAS = -android: ANDROID_EXTRAS = qtandroidextras - addModule(qtbase) addModule(qtandroidextras, qtbase) addModule(qtmacextras, qtbase) @@ -79,7 +76,7 @@ addModule(qtwinextras, qtbase, qtdeclarative qtmultimedia) addModule(qtactiveqt, qtbase) addModule(qtsystems, qtbase, qtdeclarative) addModule(qtsensors, qtbase, qtdeclarative) -addModule(qtconnectivity, qtbase $$ANDROID_EXTRAS, qtdeclarative) +addModule(qtconnectivity, qtbase, qtdeclarative qtandroidextras) addModule(qtfeedback, qtdeclarative, qtmultimedia) addModule(qtpim, qtdeclarative) addModule(qtwebsockets, qtbase, qtdeclarative) -- cgit v1.2.3