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
3cc8f2f9
Commit
3cc8f2f9
authored
May 18, 2010
by
dt
Browse files
Fix check for g++
parent
d1220f31
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qtversionmanager.cpp
View file @
3cc8f2f9
...
...
@@ -1377,7 +1377,7 @@ void QtVersion::updateToolChainAndMkspec() const
m_toolChains
<<
ToolChainPtr
(
ProjectExplorer
::
ToolChain
::
createMinGWToolChain
(
qmakeCXX
,
mingwDirectory
()));
m_targetIds
.
insert
(
QLatin1String
(
Constants
::
DESKTOP_TARGET_ID
));
}
else
if
(
qmakeCXX
.
endsWith
(
"g++"
))
{
// All g++ variants are treated as desktop g++
}
else
if
(
qmakeCXX
.
contains
(
"g++"
))
{
// All g++ variants are treated as desktop g++
// we should try to do a better job, but for now that's good enough
ProjectExplorer
::
Environment
env
=
ProjectExplorer
::
Environment
::
systemEnvironment
();
//addToEnvironment(env);
...
...
Write
Preview
Supports
Markdown
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