Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    QML and Qt Quick
    1
    4
    4479
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Padlock last edited by

      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.

      P 1 Reply Last reply Reply Quote 0
      • P
        Padlock @Padlock last edited by

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

        1 Reply Last reply Reply Quote 0
        • P
          Padlock last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • P
            Padlock last edited by

            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

            1 Reply Last reply Reply Quote 1
            • First post
              Last post