简体   繁体   English

如何在Windows上使用Qt c ++搜索特定的SD卡并进行读写操作?

[英]How to search a specific SD card and read from\write to it using Qt c++ on Windows?

I'm writing a desktop application in Qt IDE in C++ language, on Windows 7 OS. 我正在Windows 7 OS上以C ++语言编写Qt IDE桌面应用程序。 I need my program to search in the computer devices list a SD card, named :"MY_CARD". 我需要程序在计算机设备列表中搜索一张名为:“ MY_CARD”的SD卡。 Only if this specific SD card is plugged - my program has to read the files in it, and to write to it new files. 仅当插入此特定SD卡时-我的程序才必须读取其中的文件,并将新文件写入其中。

I googled a lot, but didn't find any way how to do it. 我在Google上搜索了很多,但是找不到任何方法。

Any idea? 任何想法?

thanks! 谢谢!

ok, guys, I found the solution. 好的,伙计们,我找到了解决方案。 you should see the comment above... thanks! 您应该看到上面的评论...谢谢!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM