summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-12-15 10:52:05 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2016-12-15 09:55:12 +0000
commitf779dfc5b9212bc3b362cd1b3ebe9f1aff377869 (patch)
tree87a6988ecd58f8e92bf5c98948a002e5786d8ff2 /README
parent6840953c3f4c28c4e7cb2a5a87ee4c43514c1be9 (diff)
Deploy the built-in Android modules by default
Only require explicitly enabling the support packages, which must be also linked to in the gradle build script. .pro: ANDROID_SUPPORT = v4 v7 build.gradle: dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:21.0.+' compile 'com.android.support:cardview-v7:21.0.+' compile 'com.android.support:recyclerview-v7:21.0.+' compile 'com.android.support:support-v4:21.0.+' } Change-Id: I2ac122fd383b3c7bfa6c3ec3569cd7f7f13ff971 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'README')
-rw-r--r--README5
1 files changed, 2 insertions, 3 deletions
diff --git a/README b/README
index fbb4810..a4b48d3 100644
--- a/README
+++ b/README
@@ -25,7 +25,6 @@ Link to the library, and deploy the desired Android packages
in the application .pro file:
QT += qmlandroid
- QMLANDROID_PACKAGES = app view widget
A minimal QML example that can replace the main.qml when using
the Qt Quick Application template in Qt Creator. The rest can
@@ -45,8 +44,8 @@ stay the same, using QQmlApplicationEngine to load the main.qml:
Using an options menu in Activity requires changing the activity
type in AndroidManifest.xml. The default activity type for Qt apps
is "org.qtproject.qt5.android.bindings.QtActivity", which must be
-changed to "qt.android.app.QtNativeActivity". In order to create
-the file, click "Create Templates" in Qt Creator:
+changed to "org.qtproject.qt5.android.bindings.app.QtNativeActivity".
+In order to create the file, click "Create Templates" in Qt Creator:
Projects -> Build & Run -> Build Steps -> Build Android APK