Commit 17ce6be5 authored by Christian Kandeler's avatar Christian Kandeler Committed by hjk
Browse files

Maemo: Be more tolerant in case of missing tool chain.

(cherry picked from commit ca8b342a)
parent b57461c5
...@@ -147,7 +147,10 @@ bool MaemoTemplatesManager::createDebianTemplatesIfNecessary(const ProjectExplor ...@@ -147,7 +147,10 @@ bool MaemoTemplatesManager::createDebianTemplatesIfNecessary(const ProjectExplor
Q_ASSERT_X(qt4Target, Q_FUNC_INFO, "Target ID does not match actual type."); Q_ASSERT_X(qt4Target, Q_FUNC_INFO, "Target ID does not match actual type.");
const MaemoToolChain * const tc const MaemoToolChain * const tc
= dynamic_cast<MaemoToolChain *>(qt4Target->activeBuildConfiguration()->toolChain()); = dynamic_cast<MaemoToolChain *>(qt4Target->activeBuildConfiguration()->toolChain());
Q_ASSERT_X(tc, Q_FUNC_INFO, "Maemo target has no Maemo toolchain."); if (!tc) {
qDebug("Maemo target has no Maemo toolchain.");
return false;
}
if (!MaemoPackageCreationStep::preparePackagingProcess(&dh_makeProc, tc, if (!MaemoPackageCreationStep::preparePackagingProcess(&dh_makeProc, tc,
projectDir.path(), &error)) { projectDir.path(), &error)) {
raiseError(error); raiseError(error);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment