Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit f1ad140

Browse files
committed
readme update
1 parent eb119c0 commit f1ad140

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,7 @@ include(vendor/vendor.pri)
3737
In that case, make shure you initialize androidnative.pri by adding `AndroidNative::SystemDispatcher::registerNatives();` to your `JNI_onLoad` implementation!
3838

3939
### QPM_ROOT
40-
This variable should contain the root directory of qpm, i.e. the `vendor` directory. By default (if you don't set the variable), it is set to `$$_PRO_FILE_PWD_/vendor`. If your qpm vendor folder is not located in the same directory as your pro file, set this variable to the **absolute** path of your vendor folder. If you use the `_PRO_FILE_PWD_`, you can simply make the path relative to this directory, e.g. `QPM_ROOT = $$_PRO_FILE_PWD_/../vendor`.
40+
This variable should contain the root directory of qpm, i.e. the `vendor` directory. By default (if you don't set the variable), it is set to `$$_PRO_FILE_PWD_/vendor`. If your qpm vendor folder is not located in the same directory as your pro file, set this variable to the **absolute** path of your vendor folder. If you use the `_PRO_FILE_PWD_`, you can simply make the path relative to this directory, e.g. `QPM_ROOT = $$_PRO_FILE_PWD_/../vendor`.
41+
42+
### BUILD_ROOT
43+
If the project with the android code is part of a subdirs project, i.e. **not** the root project, you need to set `BUILD_PATH` as well. It needs to point to the root build directory. By default this is `OUT_PWD`. If your project is a subdirectory, adjust that path to match the build root. Assuming your android project is a sub project of the root project, you have to set it to: `BUILD_ROOT = $$OUT_PWD/..`

0 commit comments

Comments
 (0)