From 53da2b109de037f0dfff945b8c8de8ce050317a2 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Wed, 27 Aug 2014 16:04:59 -0400 Subject: [PATCH] sdkPath now checks the binary directory, then the working directory --- openbr/openbr_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/openbr_plugin.cpp b/openbr/openbr_plugin.cpp index 223cc47..72472fc 100644 --- a/openbr/openbr_plugin.cpp +++ b/openbr/openbr_plugin.cpp @@ -1035,7 +1035,7 @@ void br::Context::initialize(int &argc, char *argv[], QString sdkPath, bool useG // Search for SDK if (sdkPath.isEmpty()) { - QStringList checkPaths; checkPaths << QDir::currentPath() << QCoreApplication::applicationDirPath(); + QStringList checkPaths; checkPaths << QCoreApplication::applicationDirPath() << QDir::currentPath(); checkPaths << QString(getenv("PATH")).split(sep, QString::SkipEmptyParts); bool foundSDK = false; -- libgit2 0.21.4