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. Can we pass string path below way in folderlistmodel for folder ?
Forum Updated to NodeBB v4.3 + New Features

Can we pass string path below way in folderlistmodel for folder ?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 167 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.
  • Q Offline
    Q Offline
    Qt embedded developer
    wrote on last edited by
    #1

    In qml file i want to pass below way folder path.

    is it possible ?

    folder:"file://"+runTimeDir

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Tauqueer
      wrote on last edited by
      #2

      It can be done alternatively by calling a function in this qml and passing folder path as an arg to the function. The arg can then be used to set the folder property.

      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