mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:44:01 +02:00
don't use just filename when searching in application framework
This commit is contained in:
parent
aa1af0e144
commit
8cb258e14c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue