| 35 | } |
| 36 | |
| 37 | void QMakeJob::start() |
| 38 | { |
| 39 | qCDebug(KDEV_QMAKEBUILDER) << "Running qmake in" << workingDirectory(); |
| 40 | |
| 41 | if (!m_project) { |
| 42 | setError(NoProjectError); |
| 43 | setErrorText(i18n("No project specified.")); |
| 44 | emitResult(); |
| 45 | return; |
| 46 | } |
| 47 | |
| 48 | // create build directory if it does not exist yet |
| 49 | QDir::temp().mkpath(workingDirectory().toLocalFile()); |
| 50 | |
| 51 | OutputExecuteJob::start(); |
| 52 | } |
| 53 | |
| 54 | QUrl QMakeJob::workingDirectory() const |
| 55 | { |
no test coverage detected