Logo Search packages:      
Sourcecode: q4wine version File versions  Download package

QStringList corelib::getWineDlls ( QString  prefix_lib_path  )  const

This function builds wine dlls list for prefix_lib_path.

prefix_lib_path Path for wine libs.
Return an list of cdrom devices.

Definition at line 587 of file q4wine-lib.cpp.

References getSetting().

            QStringList dllList;
            if (prefix_lib_path.isEmpty()){
                  prefix_lib_path=this->getSetting("wine", "WineLibs").toString();

            QDir dir(prefix_lib_path);
            dir.setFilter(QDir::Files | QDir::Hidden | QDir::NoSymLinks);

            QFileInfoList list = dir.entryInfoList();
            for (int i = 0; i < list.size(); ++i) {
                  QFileInfo fileInfo = list.at(i);
                  if (fileInfo.fileName().indexOf(".dll.so")>=0){

            return dllList;

Generated by  Doxygen 1.6.0   Back to index