forked from qt-creator/qt-creator
QmakeProject: Show full qmake path for Effective qmake command
This is for information only anyway, and leaving out the path makes it less useful for e.g. cut&paste to a terminal or to double-check whether the intended qmake binary is used. Change-Id: Id35ee37363f58377a9da2e18c3ec6d89caf54312 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -471,7 +471,7 @@ QString QMakeStep::makeArguments() const
|
|||||||
QString QMakeStep::effectiveQMakeCall() const
|
QString QMakeStep::effectiveQMakeCall() const
|
||||||
{
|
{
|
||||||
BaseQtVersion *qtVersion = QtKitInformation::qtVersion(target()->kit());
|
BaseQtVersion *qtVersion = QtKitInformation::qtVersion(target()->kit());
|
||||||
QString qmake = qtVersion ? qtVersion->qmakeCommand().fileName() : QString();
|
QString qmake = qtVersion ? qtVersion->qmakeCommand().toUserOutput() : QString();
|
||||||
if (qmake.isEmpty())
|
if (qmake.isEmpty())
|
||||||
qmake = tr("<no Qt version>");
|
qmake = tr("<no Qt version>");
|
||||||
QString make = makeCommand();
|
QString make = makeCommand();
|
||||||
|
Reference in New Issue
Block a user