Skip to content
GitLab
Menu
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
18697127
Commit
18697127
authored
Oct 05, 2010
by
dt
Browse files
Qt4BuildConf.: Prevent creating BuildConfigurations with invalid Qts
Task-Nr: QTCREATORBUG-2598
parent
c69c15dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt4buildconfiguration.cpp
View file @
18697127
...
...
@@ -650,8 +650,12 @@ void Qt4BuildConfigurationFactory::update()
m_versions
.
clear
();
QtVersionManager
*
vm
=
QtVersionManager
::
instance
();
foreach
(
const
QtVersion
*
version
,
vm
->
versions
())
{
m_versions
.
insert
(
QString
::
fromLatin1
(
QT4_BC_ID_PREFIX
)
+
QString
::
fromLatin1
(
"Qt%1"
).
arg
(
version
->
uniqueId
()),
VersionInfo
(
tr
(
"Using Qt Version
\"
%1
\"
"
).
arg
(
version
->
displayName
()),
version
->
uniqueId
()));
if
(
version
->
isValid
())
{
QString
key
=
QString
::
fromLatin1
(
QT4_BC_ID_PREFIX
)
+
QString
::
fromLatin1
(
"Qt%1"
).
arg
(
version
->
uniqueId
());
VersionInfo
info
(
tr
(
"Using Qt Version
\"
%1
\"
"
).
arg
(
version
->
displayName
()),
version
->
uniqueId
());
m_versions
.
insert
(
key
,
info
);
}
}
emit
availableCreationIdsChanged
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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