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. how to get local file path?
Forum Updated to NodeBB v4.3 + New Features

how to get local file path?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 640 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.
  • M Offline
    M Offline
    mit_cruze
    wrote on 5 May 2017, 06:13 last edited by
    #1

    I have "Browse" button on which I want to show file dialog to select any path from local system. I want to return string of that path when I press "Ok" button in dialog. How to do it?

    J 1 Reply Last reply 5 May 2017, 06:16
    0
    • M mit_cruze
      5 May 2017, 06:13

      I have "Browse" button on which I want to show file dialog to select any path from local system. I want to return string of that path when I press "Ok" button in dialog. How to do it?

      J Offline
      J Offline
      J.Hilk
      Moderators
      wrote on 5 May 2017, 06:16 last edited by
      #2

      @mit_cruze this seems like a case of lmgtfy. QFileDialog


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      2

      1/2

      5 May 2017, 06:13

      • Login

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