Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator IntelliSense for QML directory imports
Forum Updated to NodeBB v4.3 + New Features

Qt Creator IntelliSense for QML directory imports

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
qmlqtcreatorintellisense
1 Posts 1 Posters 263 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.
  • haikuH Offline
    haikuH Offline
    haiku
    wrote on last edited by haiku
    #1

    QML directory importing is great but I'm not sure how to get intellisense working for components imported this way.

    Examples:
    import 'file:///C:/example/qml/components/' as Components
    import 'http://www.example.com/qml/components/' as RemoteComponents

    Docs say nothing on this:
    https://doc.qt.io/qt-6/qtqml-syntax-directoryimports.html

    Both imports work but Qt Creator does not provide auto-complete for either and just displays the error File or directory not found.
    820f0470-53da-47f9-8acf-0e9234d33bdb-image.png

    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