[Interest] Android 7 issues
Jason H
jhihn at gmx.com
Wed Oct 12 19:24:43 CEST 2016
This message is part FYI, part question. Using Qt 5.6.0 (for now, the 5.6.2 installer is running)
FYI:
When I run my app on the device, it doesn't have any network connectivity.
Wifi is connected and working I get a 0 error code (which comes from the XMLHttpRequest)
And in adb logcat, when trying to connect I see:
10-12 13:14:51.349 3197 3398 W libexample.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_ctrl
10-12 13:14:51.349 3197 3398 W libexample.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_ctrl
10-12 13:14:51.354 3197 3398 W libexample.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_ctrl
10-12 13:14:51.354 3197 3398 W libexample.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_ctrl
10-12 13:14:51.354 3197 3398 W libexample.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function SSL_ctrl
A few minutes later I get an android dialog:
"""
Detected problems with app native libraries
(please consilt log for detail):
libQt5Core.so: unauthorized access to libcrypto.so
libQt5Core.so: unauthorized access to libssl.so
"""
It seems that most of these can be fixed by distributing our own version of OpenSSL. http://doc.qt.io/qt-5/opensslsupport.html
Question:
But also, in Creator's Application Output tab I get:
"""
Starting remote process.
Unable to start "com.company.example".
"""
But as evidenced above, it does actually start. What does it take to get logcat working again?
More information about the Interest
mailing list