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. Send file to trash
Forum Update on Monday, May 27th 2025

Send file to trash

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 653 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.
  • SikarjanS Offline
    SikarjanS Offline
    Sikarjan
    wrote on last edited by
    #1

    Hi,

    I am looking for a method to move files to trash instead of deleting them. I have read in quite a few post that there is nothing implemented in Qt but the post are all old. Did something change in the last years? Is there a cross platform solution now for moving files to trash?

    Best

    joeQJ 1 Reply Last reply
    0
    • SikarjanS Sikarjan

      Hi,

      I am looking for a method to move files to trash instead of deleting them. I have read in quite a few post that there is nothing implemented in Qt but the post are all old. Did something change in the last years? Is there a cross platform solution now for moving files to trash?

      Best

      joeQJ Offline
      joeQJ Offline
      joeQ
      wrote on last edited by
      #2

      @Sikarjan
      Hi, friend, welcome devnet.

      Good Question.

      Maybe the stackoverflow can help you.

      Just do it!

      1 Reply Last reply
      1
      • SikarjanS Offline
        SikarjanS Offline
        Sikarjan
        wrote on last edited by
        #3

        Hi,

        I have seen that post but it is nearly three years old. I hoped that something changed by now.

        Best

        mrjjM 1 Reply Last reply
        0
        • SikarjanS Sikarjan

          Hi,

          I have seen that post but it is nearly three years old. I hoped that something changed by now.

          Best

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Sikarjan
          Hi, its a feature of the OS so
          its doubtful it will ever be included as something cross platform.
          But the SO post has code both for win and linux so u get some for free. :)

          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