Commit 4f5ee153 authored by Aurindam Jana's avatar Aurindam Jana Committed by Tobias Hunger
Browse files

QtSupport: Dereference pointer to get the value.

Change-Id: I3fd2d3a959bec5566b9f552629cbe99363e50495
Reviewed-by: default avatarDaniel Teske <>
parent b01fcdee
......@@ -1226,7 +1226,7 @@ bool BaseQtVersion::queryQMakeVariables(const Utils::FileName &binary, QHash<QSt
QByteArray output;
output = runQmakeQuery(binary, Utils::Environment::systemEnvironment(), qmakeIsExecutable);
if (output.isNull() && !qmakeIsExecutable) {
if (output.isNull() && !*qmakeIsExecutable) {
// Note: Don't rerun if we were able to execute the binary before.
// Try running qmake with all kinds of tool chains set up in the environment.
......@@ -1240,7 +1240,7 @@ bool BaseQtVersion::queryQMakeVariables(const Utils::FileName &binary, QHash<QSt
Utils::Environment env = Utils::Environment::systemEnvironment();
output = runQmakeQuery(binary, env, qmakeIsExecutable);
if (qmakeIsExecutable)
if (*qmakeIsExecutable)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment