Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QML_IMPORT_PATH equivalent in Visual Studio (Qt VS Tools) for qml modules
Forum Updated to NodeBB v4.3 + New Features

QML_IMPORT_PATH equivalent in Visual Studio (Qt VS Tools) for qml modules

Scheduled Pinned Locked Moved Unsolved General and Desktop
visual studioqmlmsbuild
1 Posts 1 Posters 398 Views
  • 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
    maestro22
    wrote on 16 Aug 2022, 13:45 last edited by
    #1

    Hi, I am trying to add a qml module (as described here). However I am trying to add it to a project running under Visual Studio 2019 with Qt VS tools. I cannot find anything equivalent to QML_IMPORT_PATH += path/to/module in a regular qmake build system. I can import the module by specifying the exact relative path (import "./path/to/module/". But, I would like to not have to do that for every qml file and simply call : import MyModule. Where exactly am I supposed to add qml import paths ?

    PS: sorry if this isn't the right category as I didn't find any related Visual studio.

    1 Reply Last reply
    0

    1/1

    16 Aug 2022, 13:45

    • Login

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