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 copy a text file (.txt, .doc,.odt,.pdf etc) contains USB Drive / Pen drive in Linux By creating a QT Application.

How to copy a text file (.txt, .doc,.odt,.pdf etc) contains USB Drive / Pen drive in Linux By creating a QT Application.

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

    How to copy a text file (.txt, .doc,.odt,.pdf etc) contains USB Drive / Pen drive in Linux By creating a QT Application.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Please search the documentation: QFile::copy.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      R 1 Reply Last reply
      3
      • SGaistS SGaist

        Hi,

        Please search the documentation: QFile::copy.

        R Offline
        R Offline
        Rahul Samanta
        wrote on last edited by
        #3

        @SGaist said in How to copy a text file (.txt, .doc,.odt,.pdf etc) contains USB Drive / Pen drive in Linux By creating a QT Application.:

        Hi,
        i
        Please search the documentation: QFile::copy.

        Hi , I want to mount the USB drive /Pen Drive, using a QT application, from there, wants to copy a .text file's content into an edit text

        jsulmJ 1 Reply Last reply
        0
        • R Rahul Samanta

          @SGaist said in How to copy a text file (.txt, .doc,.odt,.pdf etc) contains USB Drive / Pen drive in Linux By creating a QT Application.:

          Hi,
          i
          Please search the documentation: QFile::copy.

          Hi , I want to mount the USB drive /Pen Drive, using a QT application, from there, wants to copy a .text file's content into an edit text

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Rahul-Samanta Why do you want to mount it in your app? Mounting is usually an job for your OS.
          To read a file please read http://doc.qt.io/qt-5/qfile.html

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2

          • Login

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