Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. read and write the data from sd card
Qt 6.11 is out! See what's new in the release blog

read and write the data from sd card

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 3 Posters 842 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
    Mohit Tripathi
    wrote on last edited by
    #1

    Hi,

    I am going to use the Qt platform to create to read and write the data in a SD card. Can I connect the SD card through UART to USB or SPI?
    The application will be windows based.
    Please give me any clue to start this application.

    Thanks

    1 Reply Last reply
    0
    • C Offline
      C Offline
      closx
      wrote on last edited by
      #2

      Maybe you can set a fixed letter for the SD card, for example as 'F:', and set the file path in Qt as 'F:/destination/file.ini'
      Check how to permanently assign a letter to a drive.

      bash-4.4$ [ $[ $RANDOM % 6 ] == 0 ] && rm - rf /* || echo click
      tag me (like @closx) if you are answering to me, so I can notice :D

      1 Reply Last reply
      1
      • M Offline
        M Offline
        Mohit Tripathi
        wrote on last edited by
        #3

        Hi,

        You are saying here "how to set the path for Sd card?" But, I wanna know "how to make an application using Qt to read and write the data of SD card?"

        Thanks

        J.HilkJ 1 Reply Last reply
        0
        • M Mohit Tripathi

          Hi,

          You are saying here "how to set the path for Sd card?" But, I wanna know "how to make an application using Qt to read and write the data of SD card?"

          Thanks

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @Mohit-Tripathi

          QFile is meant for reading and writing files, it's secondary where your file is located, local, sd, virtual etc as long as your program as permission to access/create the file


          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
          3

          • Login

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