| 56 | } |
| 57 | |
| 58 | Path QMakeConfig::buildDirFromSrc(const IProject* project, const Path& srcDir) |
| 59 | { |
| 60 | QMutexLocker lock(&s_buildDirMutex); |
| 61 | KConfigGroup cg(project->projectConfiguration(), QMakeConfig::CONFIG_GROUP()); |
| 62 | Path buildDir = Path(cg.readEntry(QMakeConfig::BUILD_FOLDER, QString())); |
| 63 | lock.unlock(); |
| 64 | |
| 65 | if (buildDir.isValid()) { |
| 66 | buildDir.addPath(project->path().relativePath(srcDir)); |
| 67 | } |
| 68 | return buildDir; |
| 69 | } |
| 70 | |
| 71 | QString QMakeConfig::qmakeExecutable(const IProject* project) |
| 72 | { |
nothing calls this directly
no test coverage detected