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
Marco Bubke
flatpak-qt-creator
Commits
83f5901b
Commit
83f5901b
authored
Mar 30, 2010
by
dt
Browse files
Set the toolchain type on setting a different qt version
Reviewed-By: hunger
parent
e92c30f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt4buildconfiguration.cpp
View file @
83f5901b
...
...
@@ -301,6 +301,14 @@ void Qt4BuildConfiguration::setQtVersion(QtVersion *version)
return
;
m_qtVersionId
=
version
->
uniqueId
();
if
(
!
version
->
possibleToolChainTypes
().
contains
(
ProjectExplorer
::
ToolChain
::
ToolChainType
(
m_toolChainType
)))
{
QList
<
ToolChain
::
ToolChainType
>
candidates
=
qt4Target
()
->
filterToolChainTypes
(
qtVersion
()
->
possibleToolChainTypes
());
if
(
candidates
.
isEmpty
())
m_toolChainType
=
-
1
;
else
m_toolChainType
=
candidates
.
first
();
}
emit
proFileEvaluateNeeded
(
this
);
emit
qtVersionChanged
();
...
...
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