Get the information about the drives
-
Hi, ALL,
In Qt there is https://doc.qt.io/qt-6/qstorageinfo.html#details. However it give the information about mounted drives only and even then it doesn't give the appropriate icon.Is there a class which I can use to get the information about the physical drives and the icon associated for the device?
Thank you.
-
Hi, ALL,
In Qt there is https://doc.qt.io/qt-6/qstorageinfo.html#details. However it give the information about mounted drives only and even then it doesn't give the appropriate icon.Is there a class which I can use to get the information about the physical drives and the icon associated for the device?
Thank you.
Hi,
there is this class:
However icons are a platform and system design specific thing and I think there is no way in Qt to access correct the icon you see in your OS' device manager.
-
Thank you.
-
@Pl45m4 ,
What about getting the complete device list and not just mounted one?Thank you.
-
@Pl45m4 ,
What about getting the complete device list and not just mounted one?Thank you.
@oneeyeman1 said in Get the information about the drives:
@Pl45m4 ,
What about getting the complete device list and not just mounted one?Such tasks are out of the scope of Qt.
-
@Pl45m4 ,
What about getting the complete device list and not just mounted one?Thank you.
@oneeyeman1 you might want to check KDE's Solid framework.