summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt.pro b/qt.pro
index b92b3c69..c5192136 100644
--- a/qt.pro
+++ b/qt.pro
@@ -53,6 +53,9 @@ 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)
@@ -70,7 +73,7 @@ addModule(qtjsondb, qtdeclarative)
addModule(qtsystems, qtbase, qtdeclarative)
addModule(qtlocation, qtbase, qt3d qtsystems qtmultimedia)
addModule(qtsensors, qtbase, qtdeclarative)
-addModule(qtconnectivity, qtbase, qtdeclarative)
+addModule(qtconnectivity, qtbase $$ANDROID_EXTRAS, qtdeclarative)
addModule(qtfeedback, qtdeclarative, qtmultimedia)
addModule(qtpim, qtdeclarative, qtjsondb)
addModule(qtwebkit, qtdeclarative, qtlocation qtsensors, WebKit.pro)