QFileInfoList filesInfo = QDir::drives();foreach (QFileInfo fileInfo, filesInfo){ textBrowser->append(fileInfo.filePath());}
val.cd("/Volumes/"); QFileInfoList vals = val.entryInfoList(QDir::Dirs); foreach (QFileInfo valu, vals) { ui->comboBox->addItem(valu.filePath()); }
ui->textBrowser->append(QString::number(QDriveInfo::drives().first().totalSize()));
QDebug() << volumeIndex;
#-------------------------------------------------## Project created by QtCreator 2011-06-16T22:33:17##-------------------------------------------------#include(qdrive/qdrive.pro)QT += core guiTARGET = EasyKitAssistentTEMPLATE = appDEFINES += QDRIVEINFO_LIBRARYSOURCES += main.cpp\ wizard.cpp \HEADERS += \ wizard.hFORMS += \ wizard.ui
-#include(qdrive/qdrive.pro)+include(qdrive/src/src.pri)