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
5193cef3
Commit
5193cef3
authored
May 18, 2010
by
dt
Browse files
Remove dead code
parent
3cc8f2f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qtversionmanager.cpp
View file @
5193cef3
...
@@ -1381,11 +1381,6 @@ void QtVersion::updateToolChainAndMkspec() const
...
@@ -1381,11 +1381,6 @@ void QtVersion::updateToolChainAndMkspec() const
// we should try to do a better job, but for now that's good enough
// we should try to do a better job, but for now that's good enough
ProjectExplorer
::
Environment
env
=
ProjectExplorer
::
Environment
::
systemEnvironment
();
ProjectExplorer
::
Environment
env
=
ProjectExplorer
::
Environment
::
systemEnvironment
();
//addToEnvironment(env);
//addToEnvironment(env);
if
(
qmakeCXX
.
isEmpty
())
{
// macx-xcode mkspec resets the value of QMAKE_CXX.
// Unfortunately, we need a valid QMAKE_CXX to configure the parser.
qmakeCXX
=
QLatin1String
(
"cc"
);
}
qmakeCXX
=
env
.
searchInPath
(
qmakeCXX
);
qmakeCXX
=
env
.
searchInPath
(
qmakeCXX
);
m_toolChains
<<
ToolChainPtr
(
ProjectExplorer
::
ToolChain
::
createGccToolChain
(
qmakeCXX
));
m_toolChains
<<
ToolChainPtr
(
ProjectExplorer
::
ToolChain
::
createGccToolChain
(
qmakeCXX
));
m_targetIds
.
insert
(
QLatin1String
(
Constants
::
DESKTOP_TARGET_ID
));
m_targetIds
.
insert
(
QLatin1String
(
Constants
::
DESKTOP_TARGET_ID
));
...
...
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