Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.11.1
Description
I'm trying to minimize my android application with
ANDROID_DEPLOYMENT_DEPENDENCIES
I've added all multimedia libs and dependencies but still have meeting next problem
W linker : /data/data/com.example.bug/qt-reserved-files/plugins/mediaservice/libqtmedia_android.so: unsupported flags DT_FLAGS_1=0x81 W linker : /data/data/com.example.bug/qt-reserved-files/plugins/video/videonode/libqtsgvideonode_android.so: unsupported flags DT_FLAGS_1=0x81 E Camera : Camera new cameraInitNormal:0 E art : No implementation found for void org.qtproject.qt5.android.multimedia.QtSurfaceTextureListener.notifyFrameAvailable(long) (tried Java_org_qtproject_qt5_android_multimedia_QtSurfaceTextureListener_notifyFrameAvailable and Java_org_qtproject_qt5_android_multimedia_QtSurfaceTextureListener_notifyFrameAvailable__J) E AndroidRuntime: FATAL EXCEPTION: main E AndroidRuntime: Process: ru.shtrihm.fiscalmaster, PID: 24202 E AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for void org.qtproject.qt5.android.multimedia.QtSurfaceTextureListener.notifyFrameAvailable(long) (tried Java_org_qtproject_qt5_android_multimedia_QtSurfaceTextureListener_notifyFrameAvailable and Java_org_qtproject_qt5_android_multimedia_QtSurfaceTextureListener_notifyFrameAvailable__J) E AndroidRuntime: at org.qtproject.qt5.android.multimedia.QtSurfaceTextureListener.notifyFrameAvailable(Native Method) E AndroidRuntime: at org.qtproject.qt5.android.multimedia.QtSurfaceTextureListener.onFrameAvailable(QtSurfaceTextureListener.java:56) E AndroidRuntime: at android.graphics.SurfaceTexture$1.handleMessage(SurfaceTexture.java:203) E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:105) E AndroidRuntime: at android.os.Looper.loop(Looper.java:156) E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6523) E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942) E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
I assume all declarative multimedia need added to
ANDROID_DEPLOYMENT_DEPENDENCIES += \ jar/QtAndroid.jar \ jar/QtAndroidExtras.jar \ jar/QtAndroidBluetooth.jar \ jar/QtMultimedia.jar \ jar/QtPositioning.jar \ jar/QtTextToSpeech.jar \ lib/libQt5Core.so \ lib/libQt5Gui.so \ lib/libQt5Network.so \ lib/libQt5NetworkAuth.so \ lib/libQt5Qml.so \ lib/libQt5Quick.so \ lib/libQt5Multimedia.so \ lib/libQt5MultimediaQuick.so \ lib/libQt5Concurrent.so \ lib/libQt5Bluetooth.so \ lib/libQt5SerialPort.so \ lib/libQt5QuickTemplates2.so \ lib/libQt5QuickParticles.so \ lib/libQt5QuickControls2.so \ lib/libQt5AndroidExtras.so \ lib/libQt5Widgets.so \ plugins/platforms/android/libqtforandroid.so \ plugins/mediaservice/libqtmedia_android.so \ plugins/playlistformats/libqtmultimedia_m3u.so \ plugins/position/libqtposition_android.so \ plugins/styles/libqandroidstyle.so \ plugins/video/videonode/libqtsgvideonode_android.so \ qml/QtQuick.2/qmldir \ qml/QtQuick.2/libqtquick2plugin.so \ qml/QtQuick.2/plugins.qmltypes \ qml/QtQuick/Dialogs/libdialogplugin.so \ qml/QtQuick/Dialogs/plugins.qmltypes \ qml/QtQuick/Dialogs/Private/libdialogsprivateplugin.so \ qml/QtQuick/Dialogs/Private/plugins.qmltypes \ qml/QtQuick/Dialogs/Private/qmldir \ qml/QtQuick/Dialogs/qmldir \ qml/Qt/labs/settings/libqmlsettingsplugin.so \ qml/Qt/labs/settings/plugins.qmltypes \ qml/Qt/labs/settings/qmldir \ qml/QtMultimedia/plugins.qmltypes \ qml/QtMultimedia/libdeclarative_multimedia.so \ qml/QtMultimedia/Video.qml \ qml/QtMultimedia/qmldir \ qml/QtBluetooth/plugins.qmltypes \ qml/QtBluetooth/libdeclarative_bluetooth.so \ qml/QtBluetooth/qmldir \ qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so \ qml/QtQuick/Templates.2/plugins.qmltypes \ qml/QtQuick/Templates.2/qmldir \ qml/QtQuick/Controls.2/PageIndicator.qml \ qml/QtQuick/Controls.2/ActionGroup.qml \ qml/QtQuick/Controls.2/ToolSeparator.qml \ qml/QtQuick/Controls.2/ApplicationWindow.qml \ qml/QtQuick/Controls.2/DialogButtonBox.qml \ qml/QtQuick/Controls.2/RoundButton.qml \ qml/QtQuick/Controls.2/MenuBar.qml \ qml/QtQuick/Controls.2/SwitchDelegate.qml \ qml/QtQuick/Controls.2/GroupBox.qml \ qml/QtQuick/Controls.2/plugins.qmltypes \ qml/QtQuick/Controls.2/TextField.qml \ qml/QtQuick/Controls.2/ToolTip.qml \ qml/QtQuick/Controls.2/Menu.qml \ qml/QtQuick/Controls.2/Dialog.qml \ qml/QtQuick/Controls.2/TextArea.qml \ qml/QtQuick/Controls.2/Frame.qml \ qml/QtQuick/Controls.2/RangeSlider.qml \ qml/QtQuick/Controls.2/MenuBarItem.qml \ qml/QtQuick/Controls.2/ItemDelegate.qml \ qml/QtQuick/Controls.2/Action.qml \ qml/QtQuick/Controls.2/ScrollView.qml \ qml/QtQuick/Controls.2/BusyIndicator.qml \ qml/QtQuick/Controls.2/ToolBar.qml \ qml/QtQuick/Controls.2/ComboBox.qml \ qml/QtQuick/Controls.2/Drawer.qml \ qml/QtQuick/Controls.2/CheckBox.qml \ qml/QtQuick/Controls.2/libqtquickcontrols2plugin.so \ qml/QtQuick/Controls.2/ProgressBar.qml \ qml/QtQuick/Controls.2/Button.qml \ qml/QtQuick/Controls.2/TabButton.qml \ qml/QtQuick/Controls.2/SwipeDelegate.qml \ qml/QtQuick/Controls.2/Pane.qml \ qml/QtQuick/Controls.2/ToolButton.qml \ qml/QtQuick/Controls.2/Page.qml \ qml/QtQuick/Controls.2/RadioDelegate.qml \ qml/QtQuick/Controls.2/SwipeView.qml \ qml/QtQuick/Controls.2/Switch.qml \ qml/QtQuick/Controls.2/MenuSeparator.qml \ qml/QtQuick/Controls.2/ButtonGroup.qml \ qml/QtQuick/Controls.2/Container.qml \ qml/QtQuick/Controls.2/SpinBox.qml \ qml/QtQuick/Controls.2/Slider.qml \ qml/QtQuick/Controls.2/Tumbler.qml \ qml/QtQuick/Controls.2/ScrollIndicator.qml \ qml/QtQuick/Controls.2/qmldir \ qml/QtQuick/Controls.2/DelayButton.qml \ qml/QtQuick/Controls.2/Label.qml \ qml/QtQuick/Controls.2/RadioButton.qml \ qml/QtQuick/Controls.2/Material/PageIndicator.qml \ qml/QtQuick/Controls.2/Material/ToolSeparator.qml \ qml/QtQuick/Controls.2/Material/ApplicationWindow.qml \ qml/QtQuick/Controls.2/Material/DialogButtonBox.qml \ qml/QtQuick/Controls.2/Material/RoundButton.qml \ qml/QtQuick/Controls.2/Material/MenuBar.qml \ qml/QtQuick/Controls.2/Material/SwitchDelegate.qml \ qml/QtQuick/Controls.2/Material/GroupBox.qml \ qml/QtQuick/Controls.2/Material/plugins.qmltypes \ qml/QtQuick/Controls.2/Material/TextField.qml \ qml/QtQuick/Controls.2/Material/ToolTip.qml \ qml/QtQuick/Controls.2/Material/Menu.qml \ qml/QtQuick/Controls.2/Material/libqtquickcontrols2materialstyleplugin.so \ qml/QtQuick/Controls.2/Material/Dialog.qml \ qml/QtQuick/Controls.2/Material/TextArea.qml \ qml/QtQuick/Controls.2/Material/Frame.qml \ qml/QtQuick/Controls.2/Material/RangeSlider.qml \ qml/QtQuick/Controls.2/Material/MenuBarItem.qml \ qml/QtQuick/Controls.2/Material/ItemDelegate.qml \ qml/QtQuick/Controls.2/Material/BusyIndicator.qml \ qml/QtQuick/Controls.2/Material/ToolBar.qml \ qml/QtQuick/Controls.2/Material/ComboBox.qml \ qml/QtQuick/Controls.2/Material/Drawer.qml \ qml/QtQuick/Controls.2/Material/CheckBox.qml \ qml/QtQuick/Controls.2/Material/ElevationEffect.qml \ qml/QtQuick/Controls.2/Material/ProgressBar.qml \ qml/QtQuick/Controls.2/Material/RectangularGlow.qml \ qml/QtQuick/Controls.2/Material/BoxShadow.qml \ qml/QtQuick/Controls.2/Material/Button.qml \ qml/QtQuick/Controls.2/Material/TabButton.qml \ qml/QtQuick/Controls.2/Material/SwipeDelegate.qml \ qml/QtQuick/Controls.2/Material/RadioIndicator.qml \ qml/QtQuick/Controls.2/Material/Pane.qml \ qml/QtQuick/Controls.2/Material/ToolButton.qml \ qml/QtQuick/Controls.2/Material/Page.qml \ qml/QtQuick/Controls.2/Material/RadioDelegate.qml \ qml/QtQuick/Controls.2/Material/SwipeView.qml \ qml/QtQuick/Controls.2/Material/Switch.qml \ qml/QtQuick/Controls.2/Material/MenuSeparator.qml \ qml/QtQuick/Controls.2/Material/CursorDelegate.qml \ qml/QtQuick/Controls.2/Material/SliderHandle.qml \ qml/QtQuick/Controls.2/Material/SpinBox.qml \ qml/QtQuick/Controls.2/Material/Slider.qml \ qml/QtQuick/Controls.2/Material/CheckDelegate.qml \ qml/QtQuick/Controls.2/Material/Tumbler.qml \ qml/QtQuick/Controls.2/Material/ScrollIndicator.qml \ qml/QtQuick/Controls.2/Material/qmldir \ qml/QtQuick/Controls.2/Material/DelayButton.qml \ qml/QtQuick/Controls.2/Material/Label.qml \ qml/QtQuick/Controls.2/Material/RadioButton.qml \ qml/QtQuick/Controls.2/Material/Dial.qml \ qml/QtQuick/Controls.2/Material/StackView.qml \ qml/QtQuick/Controls.2/Material/TabBar.qml \ qml/QtQuick/Controls.2/Material/SwitchIndicator.qml \ qml/QtQuick/Controls.2/Material/Popup.qml \ qml/QtQuick/Controls.2/Material/MenuItem.qml \ qml/QtQuick/Controls.2/Material/ScrollBar.qml \ qml/QtQuick/Controls.2/Material/CheckIndicator.qml \ qml/QtQuick/Controls.2/Dial.qml \ qml/QtQuick/Controls.2/AbstractButton.qml \ qml/QtQuick/Controls.2/StackView.qml \ qml/QtQuick/Controls.2/Control.qml \ qml/QtQuick/Controls.2/TabBar.qml \ qml/QtQuick/Controls.2/Popup.qml \ qml/QtQuick/Controls.2/MenuItem.qml \ qml/QtQuick/Controls.2/ScrollBar.qml \ qml/QtQuick/Window.2/libwindowplugin.so \ qml/QtQuick/Window.2/plugins.qmltypes \ qml/QtQuick/Window.2/qmldir \ qml/QtQuick/Layouts/libqquicklayoutsplugin.so \ qml/QtQuick/Layouts/plugins.qmltypes \ qml/QtQuick/Layouts/qmldir \ qml/QtQml/Models.2/libmodelsplugin.so \ qml/QtQml/Models.2/plugins.qmltypes \ qml/QtQml/Models.2/qmldir \ qml/QtQml/plugins.qmltypes \ qml/QtQml/qmldir \ qml/QtQml/StateMachine/libqtqmlstatemachine.so \ qml/QtQml/StateMachine/plugins.qmltypes \ qml/QtQml/StateMachine/qmldir \ qml/QtQuick/Window.2/qmldir
When I comment all ANDROID_DEPLOYMENT_DEPENDENCIES app starts to work fine. What is wrong with my .pro?