summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2019-03-07 17:17:06 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2019-03-08 00:01:19 +0530
commit167442bb1581420a0b1e8df8b5e01d16913695b8 (patch)
treea295b00bd078c8a904b41e630971a195cdef0a0e /README.md
parent9c19bb6a57524c6e702eff6bc9d0ac1179463028 (diff)
README.md: Recommend using QMAKE over QT5_PREFIX
We do this internally already, but nudge users towards it too. QT5_PREFIX is completely unusable when building with custom Qt5 builds (i.e., anything not shipped from upstream)
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 6 insertions, 9 deletions
diff --git a/README.md b/README.md
index a0558274..f66b4911 100644
--- a/README.md
+++ b/README.md
@@ -165,20 +165,17 @@ QML GStreamer plugin. You can toggle that on by
[enabling the `qt5` variant](#enabling-optional-features-with-variants).
You must also tell Cerbero where your Qt5 installation prefix is. You can do it
-in one of two ways:
+by setting the `QMAKE` environment variable to point to the `qmake` that you
+want to use, f.ex. `/path/to/Qt5.12.0/5.12.0/ios/bin/qmake`
-* Set the `QT5_PREFIX` environment variable pointed to your prefix, f.ex.
- `/path/to/Qt5.12.0/5.12.0`, or
-
-* Set the `QMAKE` environment variable to point to the `qmake` that you want to
- use, f.ex. `/path/to/Qt5.12.0/5.12.0/ios/bin/qmake`
-
-**NOTE:** You must use `QT5_PREFIX` for Android Universal because it needs to
-select the correct toolchain prefix for each architecture.
+When building for Android Universal, instead of `QMAKE`, you **must** set the
+`QT5_PREFIX` environment variable pointed to the directory inside your prefix
+which contains all the android targets, f.ex. `/path/to/Qt5.12.0/5.12.0`.
Next, run `package`:
```sh
+$ export QMAKE='/path/to/Qt5.12.0/5.12.0/<target>/bin/qmake'
$ ./cerbero-uninstalled -v qt5 [-c ...] package gstreamer-1.0
```