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. Pure QML module
Qt 6.11 is out! See what's new in the release blog

Pure QML module

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 601 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.
  • S Offline
    S Offline
    Scrincer
    wrote on last edited by
    #1

    Hi everyone,

    let me start by telling you, I read all the documentation on qml modules.

    Before I was using relative path for my import, it was working fine but now I wanted to switch to module name so I changed my qmldir file:
    @module GCore.ScreenManager
    ScreenManager 1.0 ScreenManager.qml@
    There is no c++ its only a qml file.

    The import path seems to be fine, Qt Creator can find the module definition.
    for example: import GCore.ScreenManager 1.0, there is no problem, everything is compiling, qt creator autocompletion is working. I simplified my setup, I am using only a single res file with my project+module .qml in it.

    But when i deploy to android and I run the project i get::
    @"W/Qt ( 2040): qrc:/src/main.qml:6 module "GCore.ScreenManager" is not installed".@
    Any ideas why?

    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