forked from qt-creator/qt-creator
Make sure we can compile the debugging help for maemo.
This boils down to the same problem as other calls to qmake, if we don't pass the target mode, qmake will prepend the current platform as target. Reviewed-by: dt
This commit is contained in:
@@ -1657,8 +1657,11 @@ QString QtVersion::buildDebuggingHelperLibrary()
|
||||
tc->addToEnvironment(env);
|
||||
QString output;
|
||||
QString directory = DebuggingHelperLibrary::copyDebuggingHelperLibrary(qtInstallData, &output);
|
||||
if (!directory.isEmpty())
|
||||
output += DebuggingHelperLibrary::buildDebuggingHelperLibrary(directory, tc->makeCommand(), qmakeCommand(), mkspec(), env);
|
||||
if (!directory.isEmpty()) {
|
||||
output += DebuggingHelperLibrary::buildDebuggingHelperLibrary(directory, tc->makeCommand(),
|
||||
qmakeCommand(), mkspec(), env,
|
||||
(tc->type() == ToolChain::GCC_MAEMO ? QLatin1String("-unix") : QLatin1String("")));
|
||||
}
|
||||
m_hasDebuggingHelper = !debuggingHelperLibrary().isEmpty();
|
||||
return output;
|
||||
}
|
||||
|
Reference in New Issue
Block a user