Important: Please read the Qt Code of Conduct -

QtMultimedia 5.12 is not getting imported from submodule

  • Hello,

    I am trying to build android and iOS app using QT. I have main app module with resource file which has QML views and another statically linked sub module which also has its own resource files and QML views.

    When i try to import QtMultimedia 5.12 from main app's QML file it works fine. But when i try to import same from sub module's QML file it throws error of module "QtMultimedia" is not installed. I have already added QT += quick multimedia multimediawidgets in submodule's .pro file, but its not working.

    I want to separate out QML files and want to have different resource files for different modules. Please suggest me if i am missing anything here.

  • Please let me know if there are any way available to access QtMultimedia from sub module's qml file.

Log in to reply