From dd1ae2a9c5b5bba63950b353629e74f84c16f00e Mon Sep 17 00:00:00 2001 From: dt <qtc-committer@nokia.com> Date: Wed, 6 May 2009 17:56:27 +0200 Subject: [PATCH] Maybe fix a bug that hjk found. --- src/plugins/projectexplorer/debugginghelper.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/debugginghelper.cpp b/src/plugins/projectexplorer/debugginghelper.cpp index 64a1f3e8cb9..da5fefc5125 100644 --- a/src/plugins/projectexplorer/debugginghelper.cpp +++ b/src/plugins/projectexplorer/debugginghelper.cpp @@ -114,8 +114,9 @@ QString DebuggingHelperLibrary::debuggingHelperLibrary(const QString &qtInstallD QString DebuggingHelperLibrary::buildDebuggingHelperLibrary(const QString &qmakePath, const QString &make, const Environment &env) { QString directory = copyDebuggingHelperLibrary(qtInstallDataDir(qmakePath), qtDir(qmakePath)); + if (directory.isEmpty()) + return QString::null; return buildDebuggingHelperLibrary(directory, make, qmakePath, QString::null, env); - return QString::null; } QString DebuggingHelperLibrary::copyDebuggingHelperLibrary(const QString &qtInstallData, const QString &qtdir) -- GitLab