Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QtMultimedia 5.12 is not getting imported from submodule
Forum Updated to NodeBB v4.3 + New Features

QtMultimedia 5.12 is not getting imported from submodule

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 1 Posters 282 Views 1 Watching
  • 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.
  • T Offline
    T Offline
    Taher Lakdawala
    wrote on last edited by Taher Lakdawala
    #1

    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.

    T 1 Reply Last reply
    0
    • T Taher Lakdawala

      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.

      T Offline
      T Offline
      Taher Lakdawala
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved