<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I don't think it's a good idea to try to fix QStorageInfo.<div><br></div><div>The main argument is that QStorageInfo is a monitor+info provider, but monitor should depend on a DBus in Linux; however info provider doesn't require that. Also, monitor requires internal thread on Mac. My point is that in many cases, when you doesn't need monitor itself, it's too heavy to create such a huge object just to receive volume info.</div><div><br></div><div>That's why i separated my solution into 2 different classes; so QtDriveInfo doesn't require external dependencies, like DBus.</div><div><br></div><div>Next, QStorageInfo notification doesn't work for MingGW and Windows CE.</div><div><br></div><div>Also QStorageInfo doesn't have internal caching.</div><div><br><div>Иван Комиссаров</div><br><div><div>01.03.2013, в 12:51, Laszlo Papp <<a href="mailto:lpapp@kde.org">lpapp@kde.org</a>> написал(а):</div><br class="Apple-interchange-newline"><div class="gmail_quote"><blockquote type="cite">On Fri, Mar 1, 2013 at 8:42 AM, André Somers <span dir="ltr"><<a href="mailto:andre@familiesomers.nl" target="_blank">andre@familiesomers.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">Wasn't there already similar functionality in QtMobility?<br>QSystemStorageInfo seems to provide similar functionality? Or did all<br>that get scrapped in Qt 5?<br></blockquote><div><br>Ah, you are both right: <a href="http://qt.gitorious.org/qt/qtsystems/blobs/master/src/systeminfo/qstorageinfo.h">http://qt.gitorious.org/qt/qtsystems/blobs/master/src/systeminfo/qstorageinfo.h</a><br><br>I just tried to build QtSystems against Qt5 (dev), but I am getting build issues. See the details below. I believe those are fixable, so perhaps Ivan should check if something is missing? Any plans to bring this back for Qt 5.2 or later?<br><br>Actually, since it is not yet released with Qt5, even API issues can be fixed in there.<br><br>Laszlo<br></div></blockquote></div></div></div></body></html>