QQmlApplicationEngine failed to load component (module "QtMultimedia" is not installed)



  • Hello, I keep receiving several errors when trying to run an application on Android.

    QQmlApplicationEngine failed to load component
    module "QtMultimedia" is not installed
    module "Qt.labs.settings" is not installed
    module "QtMultimedia" is not installed (funny because it appears twice)
    module "Qt.labs.settings" is not installed (same again)

    The top of my QML file:
    import QtQuick 2.7
    import QtQuick.Layouts 1.3
    import QtQuick.Controls 2.2
    import QtMultimedia 5.8
    import QtQuick.Controls.Material 2.2
    import QtQuick.Controls.Universal 2.2
    import Qt.labs.settings 1.0

    Qt 5.10. Android API level 16 but it's the same with 24 and 25.

    What might I be doing wrong? Thanks for all replies.



  • Sorry, I forgot to mention: Windows 7 Professional is the build platform.



  • It's really late here. Another piece of information is missing.
    In the .pro file I got:

    QT += quick
    quickcontrols2
    core
    multimedia

    Is it possible that I'm missing something there?



  • In the meantime I got rid of Qt.labs.settings entirely from QML and added my own functionality in C but the issue persisted nonetheless with other modules.

    The solution is here:
    https://forum.qt.io/topic/91130/android-module-xy-is-not-installed


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.