السلام عليكم
إخواني أنا داخل جديد على الكيوت
وأحاول أن أستعمل هذا الكود ولكن يطلعلي مشكلة
أرجو مساعدة في كيفية تشغيل هذا الكود
بالتفصيل
الكود :
void MainWindow::RecurseDirectory(const QString sDir) { QDir dir(sDir); QFileInfoList list = dir.entryInfoList(); for (int iList=0;iList<list.count();iList++) { QFileInfo info = list[iList]; QString sFilePath = info.filePath(); if (info.isDir()) { // recursive if (info.fileName()!=".." && info.fileName()!=".") { RecurseDirectory(sFilePath); } } else { // Do something with the file here } } }
المشكلة :
was not declared in this scope
وشكراً لكم ![]()