don't use just filename when searching in application framework

This commit is contained in:
Stephen Birarda 2014-10-02 14:35:54 -07:00
parent aa1af0e144
commit 8cb258e14c

View file

@ -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
}