aboutsummaryrefslogtreecommitdiffstats
path: root/qt.pro
diff options
context:
space:
mode:
Diffstat (limited to 'qt.pro')
-rw-r--r--qt.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt.pro b/qt.pro
index f9344690..426cc871 100644
--- a/qt.pro
+++ b/qt.pro
@@ -54,6 +54,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)
@@ -71,7 +74,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 qtmultimedia qtsensors, WebKit.pro)