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. How to get the current file's path in QML (main.qml)

How to get the current file's path in QML (main.qml)

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

    Re: How to getting the application dir in QML file

    After so many years does someone know the easiest way of storing the current file location in QML (main.qml)? Ex: property var location: function() && location will be == path of main.qml

    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