Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Spurious Unresolved QML Import Warnings
Forum Updated to NodeBB v4.3 + New Features

Spurious Unresolved QML Import Warnings

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 402 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.
  • M Offline
    M Offline
    MichaelRink
    wrote on last edited by
    #1

    I get a bunch of "Warning: QML import could not be resolved in any of the import paths:" when I compile for android that I don't get when compiling for windows or iOS.

    It doesn't seem to be impacting performance fortunately. I'm guessing it's related to https://bugreports.qt.io/browse/QTBUG-47389

    Is there a good workaround for this? I try to keep my projects at 0 warnings so its easy to spot new ones as they're introduced.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Leonardo
      wrote on last edited by
      #2

      There's no need to worry about these warnings. They are issued by the androiddeployqt tool. It tries to ensure that all qml dependencies are satisfied, but sometimes it doesn't succeed, specially if you're using custom qml components. It doesn't mean your code is wrong. It's just that the tool has its limitations.

      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