Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
17ce6be5
Commit
17ce6be5
authored
Sep 27, 2010
by
Christian Kandeler
Committed by
hjk
Sep 28, 2010
Browse files
Maemo: Be more tolerant in case of missing tool chain.
(cherry picked from commit
ca8b342a
)
parent
b57461c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-maemo/maemotemplatesmanager.cpp
View file @
17ce6be5
...
...
@@ -147,7 +147,10 @@ bool MaemoTemplatesManager::createDebianTemplatesIfNecessary(const ProjectExplor
Q_ASSERT_X
(
qt4Target
,
Q_FUNC_INFO
,
"Target ID does not match actual type."
);
const
MaemoToolChain
*
const
tc
=
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
,
projectDir
.
path
(),
&
error
))
{
raiseError
(
error
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment