Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 13 lines 825 B view raw
1diff --git a/src/sycoca/kbuildsycoca.cpp b/src/sycoca/kbuildsycoca.cpp 2index b125299..0682b90 100644 3--- a/src/sycoca/kbuildsycoca.cpp 4+++ b/src/sycoca/kbuildsycoca.cpp 5@@ -207,7 +207,7 @@ bool KBuildSycoca::build() 6 const QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, m_resourceSubdir, QStandardPaths::LocateDirectory); 7 qCDebug(SYCOCA) << "Looking for subdir" << m_resourceSubdir << "=>" << dirs; 8 for (const QString &dir : dirs) { 9- QDirIterator it(dir, QDirIterator::Subdirectories); 10+ QDirIterator it(dir, QDirIterator::Subdirectories | QDirIterator::FollowSymlinks); 11 while (it.hasNext()) { 12 const QString filePath = it.next(); 13 Q_ASSERT(filePath.startsWith(dir)); // due to the line below...