Make sure main application library is loaded
We need to also load the binary for the application itself. Task-number: QTBUG-32079 Change-Id: Ic26d5e6d950d6d18aaa54392c3c84b6deaa56c75 Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
parent
daa28042df
commit
3594fbbce4
@ -102,6 +102,7 @@ public class QtActivity extends Activity {
|
|||||||
}
|
}
|
||||||
if (getIntent().getExtras().containsKey("lib_name")) {
|
if (getIntent().getExtras().containsKey("lib_name")) {
|
||||||
mainLib = getIntent().getExtras().getString("lib_name");
|
mainLib = getIntent().getExtras().getString("lib_name");
|
||||||
|
libraryList.add(mainLib);
|
||||||
int slash = mainLib.lastIndexOf("/");
|
int slash = mainLib.lastIndexOf("/");
|
||||||
if (slash >= 0) {
|
if (slash >= 0) {
|
||||||
nativeLibDir = mainLib.substring(0, slash+1);
|
nativeLibDir = mainLib.substring(0, slash+1);
|
||||||
|
Loading…
Reference in New Issue
Block a user