From 8cb258e14c5da72c227ef788822ce49bf6cb40bb Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 2 Oct 2014 14:35:54 -0700 Subject: [PATCH] don't use just filename when searching in application framework --- interface/src/devices/SixenseManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/devices/SixenseManager.cpp b/interface/src/devices/SixenseManager.cpp index bd0bbe8a32..f5d838f95b 100644 --- a/interface/src/devices/SixenseManager.cpp +++ b/interface/src/devices/SixenseManager.cpp @@ -101,10 +101,10 @@ void SixenseManager::initialize() { _sixenseLibrary = new QLibrary(SIXENSE_LIB_FILENAME); #else const QString SIXENSE_LIBRARY_NAME = "libsixense_x64"; - QFileInfo frameworkSixenseLibrary = QCoreApplication::applicationDirPath() + "../Frameworks/" + QString frameworkSixenseLibrary = QCoreApplication::applicationDirPath() + "../Frameworks/" + SIXENSE_LIBRARY_NAME; - _sixenseLibrary = new QLibrary(frameworkSixenseLibrary.fileName()); + _sixenseLibrary = new QLibrary(frameworkSixenseLibrary); #endif }