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
377e6ff5
Commit
377e6ff5
authored
Dec 08, 2009
by
dt
Browse files
Make runQMake simpler
parent
e3865256
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt4projectmanager.cpp
View file @
377e6ff5
...
...
@@ -35,6 +35,7 @@
#include "qt4project.h"
#include "profilereader.h"
#include "qmakestep.h"
#include "qt4buildconfiguration.h"
#include <coreplugin/icore.h>
#include <coreplugin/basefilewizard.h>
...
...
@@ -247,12 +248,10 @@ void Qt4Manager::runQMakeContextMenu()
void
Qt4Manager
::
runQMake
(
ProjectExplorer
::
Project
*
p
)
{
QTC_ASSERT
(
p
,
return
);
ProjectExplorer
::
BuildConfiguration
*
bc
=
p
->
activeBuildConfiguration
();
QMakeStep
*
qs
=
0
;
foreach
(
BuildStep
*
bs
,
bc
->
buildSteps
())
if
((
qs
=
qobject_cast
<
QMakeStep
*>
(
bs
))
!=
0
)
break
;
Qt4Project
*
qt4pro
=
qobject_cast
<
Qt4Project
*>
(
p
);
QTC_ASSERT
(
qt4pro
,
return
);
Qt4BuildConfiguration
*
bc
=
qt4pro
->
activeQt4BuildConfiguration
();
QMakeStep
*
qs
=
bc
->
qmakeStep
();
if
(
!
qs
)
return
;
...
...
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