Commit e02a59ea authored by Emilie Harquel's avatar Emilie Harquel
Browse files

Fixed workerQt (application must be created after libratry path definition)

--HG--
branch : fw4spl_0.10.1
parent 8aeac058
......@@ -255,8 +255,6 @@ void WorkerQt::init( int &argc, char **argv )
}
#endif
m_app = QSharedPointer< QApplication > ( new ::fwGuiQt::App( argc, argv, WorkerQtInstanciator::s_GUIenabled ) );
OSLM_TRACE("Init Qt" << ::fwThread::getCurrentThreadId() <<" Start");
QDir pluginDir("./qtplugins");
......@@ -265,8 +263,9 @@ void WorkerQt::init( int &argc, char **argv )
QCoreApplication::setLibraryPaths(QStringList(pluginDir.absolutePath()));
}
OSLM_TRACE("Init Qt" << ::fwThread::getCurrentThreadId() <<" Finish");
m_app = QSharedPointer< QApplication > ( new ::fwGuiQt::App( argc, argv, WorkerQtInstanciator::s_GUIenabled ) );
OSLM_TRACE("Init Qt" << ::fwThread::getCurrentThreadId() <<" Finish");
}
WorkerQt::~WorkerQt()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment