Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Get application binary path using QML

$
0
0
Hi, AFAIK if you are not loading the QML file from qrc then you can use Qt.resolvedUrl(”.”) directly to get the current path but if loading from qrc then you will need to get it from C++ using QDir::currentpath() and pass it to QML.

Viewing all articles
Browse latest Browse all 4972

Trending Articles