Add log output if library does not exists

Any other method logs this here, too. This helped
to find the problem of QTBUG-71027.

Change-Id: I2d1f6199837d778ada62dac357764b0609e99692
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
André Klitzing 2018-11-20 15:42:50 +01:00 committed by Liang Qi
parent d5b3ddffae
commit be92e67fbf

View File

@ -177,6 +177,8 @@ public class QtNative
File f = new File(libName);
if (f.exists())
System.load(libName);
else
Log.i(QtTAG, "Can't find '" + libName + "'");
} catch (SecurityException e) {
Log.i(QtTAG, "Can't load '" + libName + "'", e);
} catch (Exception e) {